Index: xfa/fgas/layout/fgas_rtfbreak.cpp |
diff --git a/xfa/fgas/layout/fgas_rtfbreak.cpp b/xfa/fgas/layout/fgas_rtfbreak.cpp |
index f57a1335fbba67d558cdf867b8a16ea3d2a11f1e..dd150a30024996060495a7e16b427b46afd0c0b8 100644 |
--- a/xfa/fgas/layout/fgas_rtfbreak.cpp |
+++ b/xfa/fgas/layout/fgas_rtfbreak.cpp |
@@ -515,7 +515,7 @@ FX_DWORD CFX_RTFBreak::AppendChar(FX_WCHAR wch) { |
if (m_bCharCode) { |
return AppendChar_CharCode(wch); |
} |
- FX_DWORD dwProps = kTextLayoutCodeProperties[(FX_WORD)wch]; |
+ FX_DWORD dwProps = kTextLayoutCodeProperties[(uint16_t)wch]; |
FX_DWORD dwType = (dwProps & FX_CHARTYPEBITSMASK); |
CFX_RTFCharArray& tca = m_pCurLine->m_LineChars; |
CFX_RTFChar* pCurChar = tca.AddSpace(); |