aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-10-09 04:22:48 +0800
committerjbeich <jbeich@FreeBSD.org>2017-10-09 04:22:48 +0800
commitcd410699b3421d73cd4c45309def09333812a56e (patch)
tree01cc6d6caf0fd3affaa46ecd2e6ea7a399b83699 /multimedia
parent9be9268733c03a5094b27432f1cdd0edef880baa (diff)
downloadfreebsd-ports-gnome-cd410699b3421d73cd4c45309def09333812a56e.tar.gz
freebsd-ports-gnome-cd410699b3421d73cd4c45309def09333812a56e.tar.zst
freebsd-ports-gnome-cd410699b3421d73cd4c45309def09333812a56e.zip
multimedia/libvpx: oops, properly cast a_type
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c b/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c
index 54d219a5764f..68546dc4161c 100644
--- a/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c
+++ b/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c
@@ -26,7 +26,7 @@
+
+ if (sysctl(mib, nitems(mib), auxv, &len, NULL, 0) != -1) {
+ for (size_t i = 0; i < nitems(auxv); i++)
-+ if (auxv[i].a_type == (long)type)
++ if ((unsigned long)auxv[i].a_type == type)
+ return auxv[i].a_un.a_val;
+ }
+ return 0;