summaryrefslogtreecommitdiff
path: root/tea/win
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-08-24 16:58:43 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-08-24 16:58:43 +0000
commit08944810f3b9632de38ae92499c63464f212e0fe (patch)
tree0cc5b41397bbde6e52728e1f862d29d141b1c9cb /tea/win
parent24adc227bc29cd17e39df097fbca389c7724cd14 (diff)
downloadsqlite3-master.tar.gz
sqlite-autoconf-3200100HEADsqlite-autoconf-3200100master
Diffstat (limited to 'tea/win')
-rw-r--r--tea/win/nmakehlp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tea/win/nmakehlp.c b/tea/win/nmakehlp.c
index 2868857..e00f1b4 100644
--- a/tea/win/nmakehlp.c
+++ b/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);
}