From e40764862208b8cb76f507c489b01e3795fd93bd Mon Sep 17 00:00:00 2001 From: Wei Li Date: Tue, 15 Mar 2016 10:58:40 -0700 Subject: Modify xfa code to avoid c4800 warnings BUG=pdfium:29 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1800793002 . --- core/fxge/ge/fx_ge_font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fxge') 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; -- cgit v1.2.3