Commit 3a02030d authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

gdi32: Sign-compare warnings fix.

parent 0ff2c06c
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment