shdocvw: Sign-compare warnings fix

Andrew Talbot andrew.talbot at talbotville.com
Mon Sep 8 13:29:55 CDT 2008


Changelog:
    shdocvw: Sign-compare warnings fix.

diff --git a/dlls/shdocvw/events.c b/dlls/shdocvw/events.c
index 2fba55c..8590359 100644
--- a/dlls/shdocvw/events.c
+++ b/dlls/shdocvw/events.c
@@ -286,7 +286,7 @@ static void ConnectionPoint_Create(REFIID riid, ConnectionPoint **cp,
 
 static void ConnectionPoint_Destroy(ConnectionPoint *This)
 {
-    int i;
+    DWORD i;
 
     for(i=0; i<This->sinks_size; i++) {
         if(This->sinks[i])
diff --git a/dlls/shdocvw/factory.c b/dlls/shdocvw/factory.c
index 2992947..ec3e7a6 100644
--- a/dlls/shdocvw/factory.c
+++ b/dlls/shdocvw/factory.c
@@ -215,7 +215,7 @@ static HRESULT register_server(BOOL doregister)
     STRTABLEA strtable;
     STRENTRYA pse[14];
     static CLSID const *clsids[14];
-    int i = 0;
+    unsigned int i = 0;
     HRESULT hres;
 
     INF_SET_CLSID(CUrlHistory);



More information about the wine-patches mailing list