aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libvpx
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-10-08 20:22:48 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-10-08 20:22:48 +0000
commit6a133361afa6a98647115a815505cc82bcd050fe (patch)
tree01cc6d6caf0fd3affaa46ecd2e6ea7a399b83699 /multimedia/libvpx
parent2ba3f702b906f5bc9088760716a72eca7b8aeffa (diff)
downloadports-6a133361afa6a98647115a815505cc82bcd050fe.tar.gz
ports-6a133361afa6a98647115a815505cc82bcd050fe.zip
multimedia/libvpx: oops, properly cast a_type
Notes
Notes: svn path=/head/; revision=451573
Diffstat (limited to 'multimedia/libvpx')
-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;