msvcrt*: Use correct integral type.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a3c65a329e
commit
b7b841eb69
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue