From 5360780a9b412def4cbf17f64cebff042549aa52 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Tue, 19 Feb 2013 22:24:44 +0000 Subject: [PATCH] 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 49e6168f9a8..7a3543f374d 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 1ad3a1e53c5..d308c121618 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)) -- 2.11.4.GIT