Andrew Talbot : gdi.exe16: Avoid signed-unsigned integer comparisons.

Alexandre Julliard julliard at winehq.org
Thu Jan 17 14:48:48 CST 2013


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Wed Jan 16 20:42:31 2013 +0000

gdi.exe16: Avoid signed-unsigned integer comparisons.

---

 dlls/gdi.exe16/gdi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gdi.exe16/gdi.c b/dlls/gdi.exe16/gdi.c
index 2bd070b..c2193a9 100644
--- a/dlls/gdi.exe16/gdi.c
+++ b/dlls/gdi.exe16/gdi.c
@@ -2361,7 +2361,7 @@ BOOL16 WINAPI GetCharWidth16( HDC16 hdc, UINT16 firstChar, UINT16 lastChar, LPIN
         if( buf32 )
         {
             LPINT obuf32 = buf32;
-            int i;
+            UINT i;
 
             retVal = GetCharWidth32A( HDC_32(hdc), firstChar, lastChar, buf32);
             if (retVal)




More information about the wine-cvs mailing list