Date: Sun, 8 Oct 2017 20:22:48 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451573 - head/multimedia/libvpx/files Message-ID: <201710082022.v98KMm33066586@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710082022.v98KMm33066586>