Commit b7b841eb authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

msvcrt*: Use correct integral type.

parent a3c65a32
......@@ -434,7 +434,7 @@ typedef struct compact_block
/* Return the integer base-2 logarithm of (x|1). Result is 0 for x == 0. */
static inline unsigned int log2i(unsigned int x)
{
unsigned int index;
ULONG index;
BitScanReverse(&index, x|1);
return index;
}
......
......@@ -448,7 +448,7 @@ typedef struct compact_block
/* Return the integer base-2 logarithm of (x|1). Result is 0 for x == 0. */
static inline unsigned int log2i(unsigned int x)
{
unsigned int index;
ULONG index;
BitScanReverse(&index, x|1);
return index;
}
......
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