mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[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:
parent
119f102f63
commit
be08d69bc3
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue