Module: wine Branch: master Commit: 3a02030d54affb80dff8922c6ac335d9d0c14ba7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3a02030d54affb80dff8922c6a...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Fri Oct 10 20:00:41 2008 +0100
gdi32: Sign-compare warnings fix.
---
dlls/gdi32/freetype.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
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) {