shithub: libvpx

Download patch

ref: 0f96939ceb37fcba6ed8c368d87df033b284775b
parent: 5327fcf8572a37b6aaefab362ef2f6ed4d0b4cc9
author: Johann <[email protected]>
date: Tue Jul 7 13:45:06 EDT 2015

Use 'unsigned long' for _BitScanReverse parameter

New clang warnings in chromium reveal an incompatible pointer being
passed.

Change-Id: I0d893993726ecf899f467c16175bfb8c76329731
https://code.google.com/p/chromium/issues/detail?id=504696

--- a/vp8/encoder/x86/quantize_ssse3.c
+++ b/vp8/encoder/x86/quantize_ssse3.c
@@ -17,7 +17,7 @@
 #include <intrin.h>
 #pragma intrinsic(_BitScanReverse)
 static int bsr(int mask) {
-  int eob;
+  unsigned long eob;
   _BitScanReverse(&eob, mask);
   eob++;
   if (mask == 0)