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

Issue 2023173002: Fix some signed/unsigned comparisons in xfa_fm2jscontext.cpp (Closed)

Created:
4 years, 6 months ago by Oliver Chang
Modified:
4 years, 6 months ago
Reviewers:
Lei Zhang, dsinclair
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Fix some signed/unsigned comparisons in xfa_fm2jscontext.cpp Looks like this causes compile warnings on ARM where wchar_t is unsigned. Committed: https://pdfium.googlesource.com/pdfium/+/f6be145f54bf44810974e43e9554c756c9730bb6

Patch Set 1 #

Total comments: 7

Patch Set 2 : more cleanup #

Total comments: 2

Patch Set 3 : static_assert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -14 lines) Patch
M xfa/fxfa/fm2js/xfa_fm2jscontext.cpp View 1 2 4 chunks +14 lines, -14 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Oliver Chang
PTAL. Build failures from attempting to roll: ../../third_party/pdfium/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp: In function 'void {anonymous}::AlternateDateTimeSymbols(CFX_WideString&, const CFX_WideString&, const ...
4 years, 6 months ago (2016-06-01 03:28:49 UTC) #2
Lei Zhang
https://codereview.chromium.org/2023173002/diff/1/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp File xfa/fxfa/fm2js/xfa_fm2jscontext.cpp (right): https://codereview.chromium.org/2023173002/diff/1/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp#newcode398 xfa/fxfa/fm2js/xfa_fm2jscontext.cpp:398: if (!bInConstRange && (n = wc - L'A') >= ...
4 years, 6 months ago (2016-06-01 05:27:04 UTC) #4
Oliver Chang
https://codereview.chromium.org/2023173002/diff/1/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp File xfa/fxfa/fm2js/xfa_fm2jscontext.cpp (right): https://codereview.chromium.org/2023173002/diff/1/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp#newcode398 xfa/fxfa/fm2js/xfa_fm2jscontext.cpp:398: if (!bInConstRange && (n = wc - L'A') >= ...
4 years, 6 months ago (2016-06-01 16:08:22 UTC) #5
Lei Zhang
lgtm https://codereview.chromium.org/2023173002/diff/20001/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp File xfa/fxfa/fm2js/xfa_fm2jscontext.cpp (right): https://codereview.chromium.org/2023173002/diff/20001/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp#newcode361 xfa/fxfa/fm2js/xfa_fm2jscontext.cpp:361: const uint8_t g_sAltTable_Date[] = { Maybe static_assert(FX_ArraySize(g_sAltTable_Date) == ...
4 years, 6 months ago (2016-06-01 18:01:35 UTC) #6
Oliver Chang
https://codereview.chromium.org/2023173002/diff/20001/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp File xfa/fxfa/fm2js/xfa_fm2jscontext.cpp (right): https://codereview.chromium.org/2023173002/diff/20001/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp#newcode361 xfa/fxfa/fm2js/xfa_fm2jscontext.cpp:361: const uint8_t g_sAltTable_Date[] = { On 2016/06/01 18:01:35, Lei ...
4 years, 6 months ago (2016-06-01 19:09:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023173002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023173002/40001
4 years, 6 months ago (2016-06-01 19:10:30 UTC) #10
Lei Zhang
lgtm++
4 years, 6 months ago (2016-06-01 19:17:00 UTC) #11
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 19:20:08 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/f6be145f54bf44810974e43e9554c756c973...

Powered by Google App Engine
This is Rietveld 408576698