[patch] Signed/unsigned mismatch in freetype.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



License: X11, LGPL
Changelog:
  Paul Rupe <prupe@myrealbox.com>
  Fix a couple INT/UINT comparisons


-- 
Paul Rupe   <prupe@myrealbox.com>                "She smiled, in the end."
Index: dlls/gdi/freetype.c
===================================================================
RCS file: /home/wine/wine/dlls/gdi/freetype.c,v
retrieving revision 1.30
diff -u -r1.30 freetype.c
--- dlls/gdi/freetype.c	23 Jan 2003 21:32:36 -0000	1.30
+++ dlls/gdi/freetype.c	16 Mar 2003 20:06:38 -0000
@@ -2044,7 +2044,7 @@
 BOOL WineEngGetTextExtentPoint(GdiFont font, LPCWSTR wstr, INT count,
 			       LPSIZE size)
 {
-    UINT idx;
+    INT idx;
     GLYPHMETRICS gm;
     TEXTMETRICW tm;
     FT_UInt glyph_index;
@@ -2073,7 +2073,7 @@
 BOOL WineEngGetTextExtentPointI(GdiFont font, const WORD *indices, INT count,
 				LPSIZE size)
 {
-    UINT idx;
+    INT idx;
     GLYPHMETRICS gm;
     TEXTMETRICW tm;
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux