From 4f47bbc277895d933abe4644481b350d0c8735e0 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Thu, 30 Oct 2003 23:09:25 +0000 Subject: [PATCH] Change some variables from int to unsigned to avoid signedness mismatches. --- tools/winedump/pe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c index 3a35a0f27c8..6db89cb748e 100644 --- a/tools/winedump/pe.c +++ b/tools/winedump/pe.c @@ -814,7 +814,7 @@ static void dump_string_data( const WCHAR *ptr, unsigned int size, unsigned int for (i = 0; i < 16 && size; i++) { - int len = *ptr++; + unsigned len = *ptr++; 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_BLOCK *block = data->Blocks; - int i, j; + unsigned i, j; for (i = 0; i < data->NumberOfBlocks; i++, block++) {