svn commit: r451573 - head/multimedia/libvpx/files
Jan Beich
jbeich at FreeBSD.org
Sun Oct 8 20:22:50 UTC 2017
Author: jbeich
Date: Sun Oct 8 20:22:48 2017
New Revision: 451573
URL: https://svnweb.freebsd.org/changeset/ports/451573
Log:
multimedia/libvpx: oops, properly cast a_type
Modified:
head/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c (contents, props changed)
Modified: head/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c
==============================================================================
--- head/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c Sun Oct 8 19:59:09 2017 (r451572)
+++ head/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c Sun Oct 8 20:22:48 2017 (r451573)
@@ -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;
More information about the svn-ports-head
mailing list