Andrew Talbot : mscoree: Avoid signed-unsigned integer comparisons.

Alexandre Julliard julliard at winehq.org
Wed Feb 13 13:54:28 CST 2013


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Tue Feb 12 22:20:14 2013 +0000

mscoree: Avoid signed-unsigned integer comparisons.

---

 dlls/mscoree/metahost.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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