Commit 7c06fef8 authored by Alexandre Julliard's avatar Alexandre Julliard

gdi32: Fix a compiler warning on 64-bit.

parent 16008856
......@@ -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;
......
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