diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2017-10-08 20:22:48 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2017-10-08 20:22:48 +0000 |
commit | 6a133361afa6a98647115a815505cc82bcd050fe (patch) | |
tree | 01cc6d6caf0fd3affaa46ecd2e6ea7a399b83699 /multimedia | |
parent | 2ba3f702b906f5bc9088760716a72eca7b8aeffa (diff) | |
download | ports-6a133361afa6a98647115a815505cc82bcd050fe.tar.gz ports-6a133361afa6a98647115a815505cc82bcd050fe.zip |
Notes
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; |