Commit 4bfd7059 authored by Joris Huizer's avatar Joris Huizer Committed by Alexandre Julliard

winedump: sign-compare fixes.

parent e1e54d1e
......@@ -44,7 +44,7 @@ static void dump_mdmp_string(DWORD rva)
printf("<<?>>");
}
static const MINIDUMP_DIRECTORY* get_mdmp_dir(const MINIDUMP_HEADER* hdr, int str_idx)
static const MINIDUMP_DIRECTORY* get_mdmp_dir(const MINIDUMP_HEADER* hdr, unsigned int str_idx)
{
const MINIDUMP_DIRECTORY* dir;
unsigned int i;
......
......@@ -511,6 +511,7 @@ static void codeview_dump_one_type(unsigned curr_type, const union codeview_type
{
const union codeview_reftype* reftype = (const union codeview_reftype*)type;
int i, leaf_len, value;
unsigned int j;
const char* str;
switch (type->generic.id)
......@@ -663,9 +664,9 @@ static void codeview_dump_one_type(unsigned curr_type, const union codeview_type
case LF_ARGLIST_V2:
printf("\t%x => Arglist V2(#%u):", curr_type, reftype->arglist_v2.num);
for (i = 0; i < reftype->arglist_v2.num; i++)
for (j = 0; j < reftype->arglist_v2.num; j++)
{
printf("\t %x", reftype->arglist_v2.args[i]);
printf("\t %x", reftype->arglist_v2.args[j]);
}
printf("\t\n");
break;
......@@ -786,9 +787,9 @@ static void codeview_dump_one_type(unsigned curr_type, const union codeview_type
case LF_DERIVED_V2:
printf("\t%x => Derived V2(#%u):", curr_type, reftype->derived_v2.num);
for (i = 0; i < reftype->derived_v2.num; i++)
for (j = 0; j < reftype->derived_v2.num; j++)
{
printf(" %x", reftype->derived_v2.drvdcls[i]);
printf(" %x", reftype->derived_v2.drvdcls[j]);
}
printf("\n");
break;
......@@ -832,7 +833,8 @@ int codeview_dump_types_from_block(const void* table, unsigned long len)
int codeview_dump_symbols(const void* root, unsigned long size)
{
int i, length;
unsigned int i;
int length;
char* curr_func = NULL;
int nest_block = 0;
/*
......
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