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:
parent
5327fcf857
commit
0f96939ceb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user