[MLANG] Fix scripts values in fnIMLangFontLink2_GetScriptFontInfo()

MSVC:
'...\mlang.c(3568): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)'

Import
2dc0758b5d
This commit is contained in:
Serge Gautherie 2020-06-24 20:41:44 +02:00 committed by Timo Kreuzer
parent 119f102f63
commit be08d69bc3

View file

@ -3565,7 +3565,7 @@ static HRESULT WINAPI fnIMLangFontLink2_GetScriptFontInfo(IMLangFontLink2* This,
{
if (j >= *puiFonts) break;
pScriptFont[j].scripts = 1 << mlang_data[i].sid;
pScriptFont[j].scripts = (SCRIPT_IDS)1 << mlang_data[i].sid;
if (dwFlags == SCRIPTCONTF_FIXED_FONT)
{
MultiByteToWideChar(CP_ACP, 0, mlang_data[i].fixed_font, -1,