Module: wine Branch: master Commit: 34ac3f15dd8e1b55803d19bf1e5c26dc83187b05 URL: http://source.winehq.org/git/wine.git/?a=commit;h=34ac3f15dd8e1b55803d19bf1e...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Wed Sep 24 20:50:00 2008 +0100
dbghelp: Sign-compare warnings fix.
---
dlls/dbghelp/dwarf.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c index ccd39fb..3667c67 100644 --- a/dlls/dbghelp/dwarf.c +++ b/dlls/dbghelp/dwarf.c @@ -1036,7 +1036,7 @@ static struct symt* dwarf2_parse_array_type(dwarf2_parse_context_t* ctx, struct symt* idx_type = NULL; struct attribute min, max, cnt; dwarf2_debug_info_t* child; - int i; + unsigned int i;
if (di->symt) return di->symt;
@@ -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 ? */ { dwarf2_debug_info_t* child; - int i; + unsigned int 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, if (di->abbrev->have_child) /* any interest to not have child ? */ { dwarf2_debug_info_t* child; - int i; + unsigned int i;
/* FIXME: should we use the sibling stuff ?? */ for (i=0; i<vector_length(&di->children); i++) @@ -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 ? */ { dwarf2_debug_info_t* child; - int i; + unsigned int i;
for (i=0; i<vector_length(&di->children); i++) { @@ -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 ? */ { dwarf2_debug_info_t* child; - int i; + unsigned int 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, if (di->abbrev->have_child) /** any interest to not have child ? */ { dwarf2_debug_info_t* child; - int i; + unsigned int 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, if (di->abbrev->have_child) /** any interest to not have child ? */ { dwarf2_debug_info_t* child; - int i; + unsigned int 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,
if (di->abbrev->have_child) { - int i; + unsigned int i; for (i=0; i<vector_length(&di->children); i++) { pdi = vector_at(&di->children, i); @@ -2121,7 +2121,7 @@ static enum location_error loc_compute_frame(struct process* pcs, struct location* pframe; dwarf2_traverse_context_t lctx; enum location_error err; - int i; + unsigned int i;
for (i=0; i<vector_length(&func->vchildren); i++) {