summaryrefslogtreecommitdiff
path: root/core/fxcrt/fx_unicode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/fx_unicode.cpp')
-rw-r--r--core/fxcrt/fx_unicode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/fx_unicode.cpp b/core/fxcrt/fx_unicode.cpp
index 140bab0b27..9094c65294 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;
}