summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-09-06 17:21:20 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-09-07 14:03:30 +0000
commiteffe1da66883716037d1b93d3f241158072d2e5d (patch)
tree1731906e280749c4c538ed456847ca26ba37d8af /xfa/fxfa/parser
parent7840dd6925308c39f87d3a1d0ef9e8ddc197f696 (diff)
downloadpdfium-effe1da66883716037d1b93d3f241158072d2e5d.tar.xz
Roll DEPS for build to a049c43.
This enables MSVC by default on Windows again, so fix code that fail to build with MSVC too. Change-Id: I03fb4e3697ad777a4dca88af462b35526d6c1d4d Reviewed-on: https://pdfium-review.googlesource.com/13392 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser')
-rw-r--r--xfa/fxfa/parser/cxfa_widgetdata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_widgetdata.cpp b/xfa/fxfa/parser/cxfa_widgetdata.cpp
index fd1b2ff9bc..80981d97d6 100644
--- a/xfa/fxfa/parser/cxfa_widgetdata.cpp
+++ b/xfa/fxfa/parser/cxfa_widgetdata.cpp
@@ -1772,7 +1772,7 @@ void CXFA_WidgetData::FormatNumStr(const CFX_WideString& wsValue,
dot_index = !dot_index.has_value() ? len : dot_index;
if (dot_index.value() >= 1) {
- int nPos = dot_index.value() % 3;
+ FX_STRSIZE nPos = dot_index.value() % 3;
wsOutput.clear();
for (FX_STRSIZE i = 0; i < dot_index.value(); i++) {
if (i % 3 == nPos && i != 0)