Commit 34ac3f15 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

dbghelp: Sign-compare warnings fix.

parent 8d9c4867
...@@ -1036,7 +1036,7 @@ static struct symt* dwarf2_parse_array_type(dwarf2_parse_context_t* ctx, ...@@ -1036,7 +1036,7 @@ static struct symt* dwarf2_parse_array_type(dwarf2_parse_context_t* ctx,
struct symt* idx_type = NULL; struct symt* idx_type = NULL;
struct attribute min, max, cnt; struct attribute min, max, cnt;
dwarf2_debug_info_t* child; dwarf2_debug_info_t* child;
int i; unsigned int i;
if (di->symt) return di->symt; if (di->symt) return di->symt;
...@@ -1194,7 +1194,7 @@ static struct symt* dwarf2_parse_udt_type(dwarf2_parse_context_t* ctx, ...@@ -1194,7 +1194,7 @@ static struct symt* dwarf2_parse_udt_type(dwarf2_parse_context_t* ctx,
if (di->abbrev->have_child) /** any interest to not have child ? */ if (di->abbrev->have_child) /** any interest to not have child ? */
{ {
dwarf2_debug_info_t* child; dwarf2_debug_info_t* child;
int i; unsigned int i;
for (i=0; i<vector_length(&di->children); i++) for (i=0; i<vector_length(&di->children); i++)
{ {
...@@ -1269,7 +1269,7 @@ static struct symt* dwarf2_parse_enumeration_type(dwarf2_parse_context_t* ctx, ...@@ -1269,7 +1269,7 @@ static struct symt* dwarf2_parse_enumeration_type(dwarf2_parse_context_t* ctx,
if (di->abbrev->have_child) /* any interest to not have child ? */ if (di->abbrev->have_child) /* any interest to not have child ? */
{ {
dwarf2_debug_info_t* child; dwarf2_debug_info_t* child;
int i; unsigned int i;
/* FIXME: should we use the sibling stuff ?? */ /* FIXME: should we use the sibling stuff ?? */
for (i=0; i<vector_length(&di->children); i++) for (i=0; i<vector_length(&di->children); i++)
...@@ -1454,7 +1454,7 @@ static void dwarf2_parse_inlined_subroutine(dwarf2_subprogram_t* subpgm, ...@@ -1454,7 +1454,7 @@ static void dwarf2_parse_inlined_subroutine(dwarf2_subprogram_t* subpgm,
if (di->abbrev->have_child) /** any interest to not have child ? */ if (di->abbrev->have_child) /** any interest to not have child ? */
{ {
dwarf2_debug_info_t* child; dwarf2_debug_info_t* child;
int i; unsigned int i;
for (i=0; i<vector_length(&di->children); i++) for (i=0; i<vector_length(&di->children); i++)
{ {
...@@ -1507,7 +1507,7 @@ static void dwarf2_parse_subprogram_block(dwarf2_subprogram_t* subpgm, ...@@ -1507,7 +1507,7 @@ static void dwarf2_parse_subprogram_block(dwarf2_subprogram_t* subpgm,
if (di->abbrev->have_child) /** any interest to not have child ? */ if (di->abbrev->have_child) /** any interest to not have child ? */
{ {
dwarf2_debug_info_t* child; dwarf2_debug_info_t* child;
int i; unsigned int i;
for (i=0; i<vector_length(&di->children); i++) for (i=0; i<vector_length(&di->children); i++)
{ {
...@@ -1631,7 +1631,7 @@ static struct symt* dwarf2_parse_subprogram(dwarf2_parse_context_t* ctx, ...@@ -1631,7 +1631,7 @@ static struct symt* dwarf2_parse_subprogram(dwarf2_parse_context_t* ctx,
if (di->abbrev->have_child) /** any interest to not have child ? */ if (di->abbrev->have_child) /** any interest to not have child ? */
{ {
dwarf2_debug_info_t* child; dwarf2_debug_info_t* child;
int i; unsigned int i;
for (i=0; i<vector_length(&di->children); i++) for (i=0; i<vector_length(&di->children); i++)
{ {
...@@ -1706,7 +1706,7 @@ static struct symt* dwarf2_parse_subroutine_type(dwarf2_parse_context_t* ctx, ...@@ -1706,7 +1706,7 @@ static struct symt* dwarf2_parse_subroutine_type(dwarf2_parse_context_t* ctx,
if (di->abbrev->have_child) /** any interest to not have child ? */ if (di->abbrev->have_child) /** any interest to not have child ? */
{ {
dwarf2_debug_info_t* child; dwarf2_debug_info_t* child;
int i; unsigned int i;
for (i=0; i<vector_length(&di->children); i++) for (i=0; i<vector_length(&di->children); i++)
{ {
...@@ -2065,7 +2065,7 @@ static BOOL dwarf2_parse_compilation_unit(const dwarf2_section_t* sections, ...@@ -2065,7 +2065,7 @@ static BOOL dwarf2_parse_compilation_unit(const dwarf2_section_t* sections,
if (di->abbrev->have_child) if (di->abbrev->have_child)
{ {
int i; unsigned int i;
for (i=0; i<vector_length(&di->children); i++) for (i=0; i<vector_length(&di->children); i++)
{ {
pdi = vector_at(&di->children, i); pdi = vector_at(&di->children, i);
...@@ -2121,7 +2121,7 @@ static enum location_error loc_compute_frame(struct process* pcs, ...@@ -2121,7 +2121,7 @@ static enum location_error loc_compute_frame(struct process* pcs,
struct location* pframe; struct location* pframe;
dwarf2_traverse_context_t lctx; dwarf2_traverse_context_t lctx;
enum location_error err; enum location_error err;
int i; unsigned int i;
for (i=0; i<vector_length(&func->vchildren); i++) for (i=0; i<vector_length(&func->vchildren); i++)
{ {
......
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