Andrew Talbot : gdi32: Sign-compare warnings fix.
Alexandre Julliard
julliard at winehq.org
Mon Oct 13 06:39:20 CDT 2008
Module: wine
Branch: master
Commit: 3a02030d54affb80dff8922c6ac335d9d0c14ba7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3a02030d54affb80dff8922c6ac335d9d0c14ba7
Author: Andrew Talbot <andrew.talbot at 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)
{
More information about the wine-cvs
mailing list