kernel32: Fix a cast for Win64.

oldstable
Mike McCormack 2006-06-11 11:05:49 +09:00 committed by Alexandre Julliard
parent bbbcc2a1be
commit 3ea306f264
1 changed files with 1 additions and 1 deletions

View File

@ -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",