Commit 340d82ef authored by Johann's avatar Johann Committed by Gerrit Code Review
Browse files

Merge "Use 'unsigned long' for _BitScanReverse parameter"

parents 892128f6 0f96939c
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <intrin.h> #include <intrin.h>
#pragma intrinsic(_BitScanReverse) #pragma intrinsic(_BitScanReverse)
static int bsr(int mask) { static int bsr(int mask) {
int eob; unsigned long eob;
_BitScanReverse(&eob, mask); _BitScanReverse(&eob, mask);
eob++; eob++;
if (mask == 0) if (mask == 0)
Supports Markdown
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