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
This commit is contained in:
Johann 2015-07-07 17:45:06 -07:00
parent 5327fcf857
commit 0f96939ceb

View File

@ -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)