summaryrefslogtreecommitdiff
path: root/core/fxge
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-03-15 10:58:40 -0700
committerWei Li <weili@chromium.org>2016-03-15 10:58:40 -0700
commite40764862208b8cb76f507c489b01e3795fd93bd (patch)
treeea4c86bd75d17f91217df09747896a38e14934db /core/fxge
parent3cc180234c14639d408003c8180ba2963f0ea665 (diff)
downloadpdfium-e40764862208b8cb76f507c489b01e3795fd93bd.tar.xz
Modify xfa code to avoid c4800 warnings
BUG=pdfium:29 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1800793002 .
Diffstat (limited to 'core/fxge')
-rw-r--r--core/fxge/ge/fx_ge_font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/ge/fx_ge_font.cpp b/core/fxge/ge/fx_ge_font.cpp
index 14783085ac..67b968b44d 100644
--- a/core/fxge/ge/fx_ge_font.cpp
+++ b/core/fxge/ge/fx_ge_font.cpp
@@ -488,7 +488,7 @@ FX_DWORD CFX_UnicodeEncodingEx::GlyphFromCharCode(FX_DWORD charcode) {
int nmaps = FXFT_Get_Face_CharmapCount(face);
int m = 0;
while (m < nmaps) {
- int nEncodingID =
+ FX_DWORD nEncodingID =
FXFT_Get_Charmap_Encoding(FXFT_Get_Face_Charmaps(face)[m++]);
if (m_nEncodingID == nEncodingID) {
continue;