Andrew Talbot : shdocvw: Sign-compare warnings fix.

Alexandre Julliard julliard at winehq.org
Tue Sep 9 05:50:56 CDT 2008


Module: wine
Branch: master
Commit: d23fc94fd653cfb24a4c2939f51637696137a992
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d23fc94fd653cfb24a4c2939f51637696137a992

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Mon Sep  8 19:29:55 2008 +0100

shdocvw: Sign-compare warnings fix.

---

 dlls/shdocvw/events.c  |    2 +-
 dlls/shdocvw/factory.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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-cvs mailing list