qmgr: Sign-compare warnings fix

Andrew Talbot andrew.talbot at talbotville.com
Fri Sep 5 14:26:47 CDT 2008


Changelog:
    qmgr: Sign-compare warnings fix.

diff --git a/dlls/qmgr/qmgr_main.c b/dlls/qmgr/qmgr_main.c
index 5094874..9c6b345 100644
--- a/dlls/qmgr/qmgr_main.c
+++ b/dlls/qmgr/qmgr_main.c
@@ -76,7 +76,7 @@ static HRESULT init_register_strtable(STRTABLEA *strtable)
     };
 #undef CLSID_EXPANSION_ENTRY
     static STRENTRYA pse[sizeof expns / sizeof expns[0]];
-    int i;
+    DWORD i;
 
     strtable->cEntries = sizeof pse / sizeof pse[0];
     strtable->pse = pse;
@@ -98,7 +98,7 @@ static HRESULT init_register_strtable(STRTABLEA *strtable)
 
 static void cleanup_register_strtable(STRTABLEA *strtable)
 {
-    int i;
+    DWORD i;
     for (i = 0; i < strtable->cEntries; i++) {
         HeapFree(GetProcessHeap(), 0, strtable->pse[i].pszName);
         HeapFree(GetProcessHeap(), 0, strtable->pse[i].pszValue);



More information about the wine-patches mailing list