Index: core/fxcrt/fx_unicode.cpp |
diff --git a/core/fxcrt/fx_unicode.cpp b/core/fxcrt/fx_unicode.cpp |
index 140bab0b279efaebdc3ae6283365317c1f929b05..9094c6529456aecf1bda878825e2de526aab7464 100644 |
--- a/core/fxcrt/fx_unicode.cpp |
+++ b/core/fxcrt/fx_unicode.cpp |
@@ -9,7 +9,7 @@ |
FX_DWORD FX_GetUnicodeProperties(FX_WCHAR wch) { |
size_t idx = static_cast<size_t>(wch); |
if (idx < kTextLayoutCodePropertiesSize) |
- return kTextLayoutCodeProperties[(FX_WORD)wch]; |
+ return kTextLayoutCodeProperties[(uint16_t)wch]; |
return 0; |
} |