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

Alexandre Julliard julliard at winehq.org
Thu Feb 14 15:01:31 CST 2013


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Wed Feb 13 21:06:47 2013 +0000

msdaps: Avoid signed-unsigned integer comparisons.

---

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

diff --git a/dlls/msdaps/usrmarshal.c b/dlls/msdaps/usrmarshal.c
index 7b983f3..3f2b9e6 100644
--- a/dlls/msdaps/usrmarshal.c
+++ b/dlls/msdaps/usrmarshal.c
@@ -695,10 +695,10 @@ HRESULT CALLBACK IRowsetInfo_GetProperties_Proxy(IRowsetInfo* This, const ULONG
 
     for(i = 0; i < cPropertyIDSets; i++)
     {
-        int j;
+        unsigned int j;
         TRACE("%d: %s %d props\n", i, debugstr_guid(&rgPropertyIDSets[i].guidPropertySet), rgPropertyIDSets[i].cPropertyIDs);
         for(j = 0; j < rgPropertyIDSets[i].cPropertyIDs; j++)
-            TRACE("\t%d: prop id %d\n", j, rgPropertyIDSets[i].rgPropertyIDs[j]);
+            TRACE("\t%u: prop id %d\n", j, rgPropertyIDSets[i].rgPropertyIDs[j]);
     }
 
     hr = IRowsetInfo_RemoteGetProperties_Proxy(This, cPropertyIDSets, rgPropertyIDSets, pcPropertySets, prgPropertySets, &error);




More information about the wine-cvs mailing list