diff options
author | weili <weili@chromium.org> | 2016-05-16 13:53:42 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-16 13:53:42 -0700 |
commit | 3cc01f2ba255f4b7584668ee2b8e5ed97792c26d (patch) | |
tree | 6a207d8910696ef1c28ef60a855ae266f81067cd /xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp | |
parent | c6450bb06b69528406a2a261c70c4ea769965a8d (diff) | |
download | pdfium-3cc01f2ba255f4b7584668ee2b8e5ed97792c26d.tar.xz |
Fix the code that causes warnings
These are the left or newly added code which causes compilation
warnings of "signed and unsigned comparison". Need to fix them
before I re-enable the warning flag.
BUG=pdfium:29
Review-Url: https://codereview.chromium.org/1986533002
Diffstat (limited to 'xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp')
-rw-r--r-- | xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp b/xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp index 15f288be63..19672c1b71 100644 --- a/xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp +++ b/xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp @@ -158,7 +158,7 @@ int32_t CBC_HighLevelEncoder::lookAheadTest(CFX_WideString msg, int32_t charsProcessed = 0; while (TRUE) { if ((startpos + charsProcessed) == msg.GetLength()) { - uint32_t min = std::numeric_limits<int32_t>::max(); + int32_t min = std::numeric_limits<int32_t>::max(); CFX_ByteArray mins; mins.SetSize(6); CFX_Int32Array intCharCounts; |