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:
Eric Pouech 2022-02-01 14:05:09 +01:00 committed by Alexandre Julliard
parent a3c65a329e
commit b7b841eb69
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}