From effe1da66883716037d1b93d3f241158072d2e5d Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 6 Sep 2017 17:21:20 -0700 Subject: 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 Reviewed-by: dsinclair --- xfa/fxfa/parser/cxfa_widgetdata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fxfa/parser') 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) -- cgit v1.2.3