Andrew Talbot : msxml3: Avoid signed-unsigned integer comparisons.
Alexandre Julliard
julliard at winehq.org
Wed Feb 20 14:01:14 CST 2013
Module: wine
Branch: master
Commit: 5360780a9b412def4cbf17f64cebff042549aa52
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5360780a9b412def4cbf17f64cebff042549aa52
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Tue Feb 19 22:24:44 2013 +0000
msxml3: Avoid signed-unsigned integer comparisons.
---
dlls/msxml3/domdoc.c | 2 +-
dlls/msxml3/factory.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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-cvs
mailing list