Fix signed/unsigned comparison warnings.
diff --git a/dlls/setupapi/parser.c b/dlls/setupapi/parser.c
index 8c760f0..9c13f6d 100644
--- a/dlls/setupapi/parser.c
+++ b/dlls/setupapi/parser.c
@@ -178,7 +178,7 @@
/* find a section by name */
static int find_section( struct inf_file *file, const WCHAR *name )
{
- int i;
+ unsigned int i;
for (i = 0; i < file->nb_sections; i++)
if (!strcmpiW( name, file->sections[i]->name )) return i;
@@ -313,7 +313,8 @@
struct section *strings_section;
struct line *line;
struct field *field;
- int i, dirid;
+ unsigned int i;
+ int dirid;
WCHAR *dirid_str, *end;
const WCHAR *ret = NULL;
@@ -1167,7 +1168,7 @@
void WINAPI SetupCloseInfFile( HINF hinf )
{
struct inf_file *file = hinf;
- int i;
+ unsigned int i;
for (i = 0; i < file->nb_sections; i++) HeapFree( GetProcessHeap(), 0, file->sections[i] );
HeapFree( GetProcessHeap(), 0, file->src_root );