msxml3: Avoid signed-unsigned integer comparisons

Andrew Talbot andrew.talbot at talbotville.com
Tue Feb 19 16:24:44 CST 2013


Changelog:
    msxml3: Avoid signed-unsigned integer comparisons.

diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index 49e6168..7a3543f 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -3245,7 +3245,7 @@ static HRESULT WINAPI ConnectionPoint_Advise(IConnectionPoint *iface, IUnknown *
     ConnectionPoint *This = impl_from_IConnectionPoint(iface);
     IUnknown *sink;
     HRESULT hr;
-    int i;
+    DWORD i;
 
     TRACE("(%p)->(%p %p)\n", This, unk_sink, cookie);
 
diff --git a/dlls/msxml3/factory.c b/dlls/msxml3/factory.c
index 1ad3a1e..d308c12 100644
--- a/dlls/msxml3/factory.c
+++ b/dlls/msxml3/factory.c
@@ -98,7 +98,7 @@ static const struct clsid_version_t clsid_versions_table[] =
 
 static MSXML_VERSION get_msxml_version(const GUID *clsid)
 {
-    int i;
+    unsigned int i;
 
     for (i = 0; i < sizeof(clsid_versions_table)/sizeof(struct clsid_version_t); i++)
         if (IsEqualGUID(clsid, clsid_versions_table[i].clsid))




More information about the wine-patches mailing list