summaryrefslogtreecommitdiff
path: root/xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp')
-rw-r--r--xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp b/xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp
index 6b8ae806d6..3f6e240430 100644
--- a/xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp
+++ b/xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp
@@ -7,8 +7,8 @@
#include "xfa/fee/fx_wordbreak/fx_wordbreak_impl.h"
FX_WordBreakProp FX_GetWordBreakProperty(FX_WCHAR wcCodePoint) {
- FX_DWORD dwProperty =
- (FX_DWORD)gs_FX_WordBreak_CodePointProperties[wcCodePoint >> 1];
+ uint32_t dwProperty =
+ (uint32_t)gs_FX_WordBreak_CodePointProperties[wcCodePoint >> 1];
return (FX_WordBreakProp)(((wcCodePoint)&1) ? (dwProperty & 0x0F)
: (dwProperty >> 4));
}