Change some variables from int to unsigned to avoid signedness

mismatches.
This commit is contained in:
Gerald Pfeifer 2003-10-30 23:09:25 +00:00 committed by Alexandre Julliard
parent c5dc9d29e1
commit 4f47bbc277
1 changed files with 2 additions and 2 deletions

View File

@ -814,7 +814,7 @@ static void dump_string_data( const WCHAR *ptr, unsigned int size, unsigned int
for (i = 0; i < 16 && size; i++) for (i = 0; i < 16 && size; i++)
{ {
int len = *ptr++; unsigned len = *ptr++;
if (len >= size) if (len >= size)
{ {
@ -838,7 +838,7 @@ static void dump_msgtable_data( const void *ptr, unsigned int size, unsigned int
{ {
const MESSAGE_RESOURCE_DATA *data = ptr; const MESSAGE_RESOURCE_DATA *data = ptr;
const MESSAGE_RESOURCE_BLOCK *block = data->Blocks; const MESSAGE_RESOURCE_BLOCK *block = data->Blocks;
int i, j; unsigned i, j;
for (i = 0; i < data->NumberOfBlocks; i++, block++) for (i = 0; i < data->NumberOfBlocks; i++, block++)
{ {