mstask: Sign-compare warnings fix

Andrew Talbot andrew.talbot at talbotville.com
Fri Aug 29 10:31:50 CDT 2008


Changelog:
    mstask: Sign-compare warnings fix.

diff --git a/dlls/mstask/mstask_main.c b/dlls/mstask/mstask_main.c
index c7b3dea..df1f1d8 100644
--- a/dlls/mstask/mstask_main.c
+++ b/dlls/mstask/mstask_main.c
@@ -88,7 +88,7 @@ static HRESULT init_register_strtable(STRTABLEA *strtable)
     };
 #undef CLSID_EXPANSION_ENTRY
     static STRENTRYA pse[sizeof expns / sizeof expns[0]];
-    int i;
+    unsigned int i;
 
     strtable->cEntries = sizeof pse / sizeof pse[0];
     strtable->pse = pse;
@@ -114,7 +114,7 @@ static HRESULT init_register_strtable(STRTABLEA *strtable)
 
 static void cleanup_register_strtable(STRTABLEA *strtable)
 {
-    int i;
+    unsigned int i;
     for (i = 0; i < strtable->cEntries; i++)
     {
         HeapFree(GetProcessHeap(), 0, strtable->pse[i].pszName);



More information about the wine-patches mailing list