mscoree: Avoid signed-unsigned integer comparisons
Andrew Talbot
andrew.talbot at talbotville.com
Tue Feb 12 16:20:14 CST 2013
Changelog:
mscoree: Avoid signed-unsigned integer comparisons.
diff --git a/dlls/mscoree/metahost.c b/dlls/mscoree/metahost.c
index 66dde5d..eb3bc93 100644
--- a/dlls/mscoree/metahost.c
+++ b/dlls/mscoree/metahost.c
@@ -871,7 +871,7 @@ static HRESULT WINAPI InstalledRuntimeEnum_Next(IEnumUnknown *iface, ULONG celt,
IUnknown **rgelt, ULONG *pceltFetched)
{
struct InstalledRuntimeEnum *This = impl_from_IEnumUnknown(iface);
- int num_fetched = 0;
+ ULONG num_fetched = 0;
HRESULT hr=S_OK;
IUnknown *item;
@@ -903,7 +903,7 @@ static HRESULT WINAPI InstalledRuntimeEnum_Next(IEnumUnknown *iface, ULONG celt,
static HRESULT WINAPI InstalledRuntimeEnum_Skip(IEnumUnknown *iface, ULONG celt)
{
struct InstalledRuntimeEnum *This = impl_from_IEnumUnknown(iface);
- int num_fetched = 0;
+ ULONG num_fetched = 0;
HRESULT hr=S_OK;
TRACE("(%p,%u)\n", iface, celt);
More information about the wine-patches
mailing list