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

Unified Diff: third_party/sqlite/src/autoconf/tea/win/nmakehlp.c

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/autoconf/tea/configure.in ('k') | third_party/sqlite/src/config.h.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/autoconf/tea/win/nmakehlp.c
diff --git a/third_party/sqlite/src/autoconf/tea/win/nmakehlp.c b/third_party/sqlite/src/autoconf/tea/win/nmakehlp.c
index 2868857efd62776f0d3fc2c7d6b6c033b25cdc7a..e00f1b49965d07d0ac4862354131776bdaf714eb 100644
--- a/third_party/sqlite/src/autoconf/tea/win/nmakehlp.c
+++ b/third_party/sqlite/src/autoconf/tea/win/nmakehlp.c
@@ -603,8 +603,8 @@ SubstituteFile(
sp = fopen(substitutions, "rt");
if (sp != NULL) {
while (fgets(szBuffer, cbBuffer, sp) != NULL) {
- char *ks, *ke, *vs, *ve;
- ks = szBuffer;
+ unsigned char *ks, *ke, *vs, *ve;
+ ks = (unsigned char*)szBuffer;
while (ks && *ks && isspace(*ks)) ++ks;
ke = ks;
while (ke && *ke && !isspace(*ke)) ++ke;
@@ -613,7 +613,7 @@ SubstituteFile(
ve = vs;
while (ve && *ve && !(*ve == '\r' || *ve == '\n')) ++ve;
*ke = 0, *ve = 0;
- list_insert(&substPtr, ks, vs);
+ list_insert(&substPtr, (char*)ks, (char*)vs);
}
fclose(sp);
}
« no previous file with comments | « third_party/sqlite/src/autoconf/tea/configure.in ('k') | third_party/sqlite/src/config.h.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698