gdi32: Sign-compare warnings fix.

This commit is contained in:
Andrew Talbot 2008-10-10 20:00:41 +01:00 committed by Alexandre Julliard
parent 0ff2c06c1d
commit 3a02030d54

View File

@ -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)
{