Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Issue 1840483003: Reduce signed/unsigned comparison warnings (Closed)

Created:
4 years, 9 months ago by Wei Li
Modified:
4 years, 8 months ago
Reviewers:
Tom Sepez
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Reduce signed/unsigned comparison warnings The warnings generated by Clang. This is part 1 for some simple cases. BUG=pdfium:29 R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/8940993efffaaf432320509555dc61122b8b72b2

Patch Set 1 #

Total comments: 14

Patch Set 2 : address comments #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -59 lines) Patch
M core/fpdfapi/fpdf_page/cpdf_colorspace.cpp View 1 2 6 chunks +6 lines, -6 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_textobject.cpp View 1 2 6 chunks +8 lines, -7 lines 0 comments Download
M core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M core/fpdfapi/fpdf_parser/cpdf_array.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp View 1 2 1 chunk +6 lines, -9 lines 0 comments Download
M core/fpdftext/fpdf_text_int.cpp View 1 2 6 chunks +9 lines, -7 lines 0 comments Download
M core/fxcodec/codec/fx_codec_flate.cpp View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M core/fxcodec/jbig2/JBig2_Context.cpp View 1 2 4 chunks +8 lines, -10 lines 0 comments Download
M core/fxcrt/include/fx_ext.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M core/fxge/ge/fx_ge_font.cpp View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M core/fxge/ge/fx_ge_fontmap.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M fpdfsdk/fsdk_baseform.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M fpdfsdk/fxedit/fxet_edit.cpp View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/javascript/Document.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M fpdfsdk/javascript/JS_Value.cpp View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/pdfwindow/PWL_FontMap.cpp View 1 chunk +1 line, -1 line 0 comments Download
M testing/fx_string_testhelpers.cpp View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 8 (3 generated)
Wei Li
PTAL, thanks
4 years, 9 months ago (2016-03-25 22:18:01 UTC) #2
Tom Sepez
https://codereview.chromium.org/1840483003/diff/1/core/fpdfapi/fpdf_page/cpdf_colorspace.cpp File core/fpdfapi/fpdf_page/cpdf_colorspace.cpp (right): https://codereview.chromium.org/1840483003/diff/1/core/fpdfapi/fpdf_page/cpdf_colorspace.cpp#newcode493 core/fpdfapi/fpdf_page/cpdf_colorspace.cpp:493: for (size_t j = 0; j < m_nComponents; j++) ...
4 years, 9 months ago (2016-03-25 22:31:41 UTC) #3
Wei Li
https://codereview.chromium.org/1840483003/diff/1/core/fpdfapi/fpdf_page/cpdf_colorspace.cpp File core/fpdfapi/fpdf_page/cpdf_colorspace.cpp (right): https://codereview.chromium.org/1840483003/diff/1/core/fpdfapi/fpdf_page/cpdf_colorspace.cpp#newcode493 core/fpdfapi/fpdf_page/cpdf_colorspace.cpp:493: for (size_t j = 0; j < m_nComponents; j++) ...
4 years, 9 months ago (2016-03-26 01:04:10 UTC) #4
Tom Sepez
lgtm
4 years, 9 months ago (2016-03-26 02:37:57 UTC) #5
Wei Li
4 years, 8 months ago (2016-03-28 17:33:40 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:60001) manually as
8940993efffaaf432320509555dc61122b8b72b2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698