Commit 3ea306f2 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

kernel32: Fix a cast for Win64.

parent bbbcc2a1
......@@ -443,7 +443,7 @@ static LANGID get_language_id(LPCSTR Lang, LPCSTR Country, LPCSTR Charset, LPCST
/* retry without country name */
l_data.country[0] = 0;
EnumResourceLanguagesW(kernel32_handle, (LPCWSTR)RT_STRING, (LPCWSTR)LOCALE_ILANGUAGE,
find_language_id_proc, (LONG)&l_data);
find_language_id_proc, (LONG_PTR)&l_data);
if (!l_data.n_found)
{
MESSAGE("Warning: Language '%s_%s' was not recognized, defaulting to English.\n",
......
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