https://git.reactos.org/?p=reactos.git;a=commitdiff;h=be08d69bc3663bc5531a5e...
commit be08d69bc3663bc5531a5e5a64a372b9f60e7b74 Author: Serge Gautherie reactos-git_serge_171003@gautherie.fr AuthorDate: Wed Jun 24 20:41:44 2020 +0200 Commit: Timo Kreuzer timo.kreuzer@reactos.org CommitDate: Sat Oct 24 10:17:05 2020 +0200
[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 https://source.winehq.org/git/wine.git/commit/2dc0758b5d0fe4ef49b7d0635299e5... --- dll/win32/mlang/mlang.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/mlang/mlang.c b/dll/win32/mlang/mlang.c index 372a7f4334b..e96b2f767a7 100644 --- a/dll/win32/mlang/mlang.c +++ b/dll/win32/mlang/mlang.c @@ -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,