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); |
} |