From 7c06fef8b636a897923a559d07e11f17f66402d1 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 11 Apr 2011 13:45:23 +0200 Subject: [PATCH] gdi32: Fix a compiler warning on 64-bit. --- dlls/gdi32/freetype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index 03a4cbd2635..b329b3398f5 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -3974,7 +3974,7 @@ static DWORD create_enum_charset_list(DWORD charset, struct enum_charset_list *l CHARSETINFO csi; DWORD n = 0; - if (TranslateCharsetInfo((DWORD*)charset, &csi, TCI_SRCCHARSET) && + if (TranslateCharsetInfo(ULongToPtr(charset), &csi, TCI_SRCCHARSET) && csi.fs.fsCsb[0] != 0) { list->element[n].mask = csi.fs.fsCsb[0]; list->element[n].charset = csi.ciCharset;