Commit 0f96939c authored by Johann's avatar Johann
Browse files

Use 'unsigned long' for _BitScanReverse parameter

New clang warnings in chromium reveal an incompatible pointer being

Change-Id: I0d893993726ecf899f467c16175bfb8c76329731
parent 5327fcf8
......@@ -17,7 +17,7 @@
#include <intrin.h>
#pragma intrinsic(_BitScanReverse)
static int bsr(int mask) {
int eob;
unsigned long eob;
_BitScanReverse(&eob, mask);
if (mask == 0)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment