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

Issue 1248763003: Fix MSVC warning C4018 for sqlite. (Closed)

Created:
5 years, 5 months ago by Peter Kasting
Modified:
5 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix MSVC warning C4018 for sqlite. This is a warning about signed vs. unsigned values in a comparison. The code in question was added entirely by a previous patch, so this simply modifies that patch, and the results of applying it. Adding an "(unsigned)" C-style cast is a somewhat ugly fix to one location, but the alternative would be a potentially-vast change to the APIs in question to change int to unsigned throughout the transitive closure of places that touch this. I didn't seriously investigate doing this. BUG=398202 TEST=none Committed: https://crrev.com/b0bf37632646237f4005203cf08e76e3b94e545c Cr-Commit-Position: refs/heads/master@{#339765}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -18 lines) Patch
M third_party/sqlite/amalgamation/sqlite3.c View 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/sqlite/patches/0006-Virtual-table-supporting-recovery-of-corrupted-datab.patch View 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/sqlite/src/src/recover.c View 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Peter Kasting
Scott, I didn't see recover.c in the source tree at sqlite.org, so I assume either ...
5 years, 5 months ago (2015-07-21 18:46:50 UTC) #2
Scott Hess - ex-Googler
LGTM I'm not sure changing nCols to int would be all that bad, but I'm ...
5 years, 5 months ago (2015-07-21 21:11:42 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248763003/1
5 years, 5 months ago (2015-07-21 21:42:58 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 5 months ago (2015-07-21 22:28:20 UTC) #6
commit-bot: I haz the power
5 years, 5 months ago (2015-07-21 22:29:32 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b0bf37632646237f4005203cf08e76e3b94e545c
Cr-Commit-Position: refs/heads/master@{#339765}

Powered by Google App Engine
This is Rietveld 408576698