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 ...@@ -3974,7 +3974,7 @@ static DWORD create_enum_charset_list(DWORD charset, struct enum_charset_list *l
CHARSETINFO csi; CHARSETINFO csi;
DWORD n = 0; DWORD n = 0;
if (TranslateCharsetInfo((DWORD*)charset, &csi, TCI_SRCCHARSET) && if (TranslateCharsetInfo(ULongToPtr(charset), &csi, TCI_SRCCHARSET) &&
csi.fs.fsCsb[0] != 0) { csi.fs.fsCsb[0] != 0) {
list->element[n].mask = csi.fs.fsCsb[0]; list->element[n].mask = csi.fs.fsCsb[0];
list->element[n].charset = csi.ciCharset; 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