diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-10-09 04:22:48 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-10-09 04:22:48 +0800 |
commit | cd410699b3421d73cd4c45309def09333812a56e (patch) | |
tree | 01cc6d6caf0fd3affaa46ecd2e6ea7a399b83699 /multimedia | |
parent | 9be9268733c03a5094b27432f1cdd0edef880baa (diff) | |
download | freebsd-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.c | 2 |
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; |