gdi.exe16: Avoid signed-unsigned integer comparisons

Andrew Talbot andrew.talbot at talbotville.com
Wed Jan 16 14:42:31 CST 2013


Changelog:
    gdi.exe16: Avoid signed-unsigned integer comparisons.

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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130116/b5a68c03/attachment.html>


More information about the wine-patches mailing list