gdi32: Sign-compare warnings fix

Andrew Talbot andrew.talbot at talbotville.com
Fri Oct 10 14:00:41 CDT 2008


Changelog:
    gdi32: Sign-compare warnings fix.

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 0ab4c7a..8b0d672 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -1077,7 +1077,7 @@ static WCHAR *get_familyname(FT_Face ft_face)
 
     if(get_name_table_entry(ft_face, &name))
     {
-        int i;
+        FT_UInt i;
 
         /* String is not nul terminated and string_len is a byte length. */
         family = HeapAlloc(GetProcessHeap(), 0, name.string_len + 2);
@@ -2883,7 +2883,7 @@ static GdiFont *alloc_font(void)
 static void free_font(GdiFont *font)
 {
     struct list *cursor, *cursor2;
-    int i;
+    DWORD i;
 
     LIST_FOR_EACH_SAFE(cursor, cursor2, &font->child_fonts)
     {



More information about the wine-patches mailing list