diff options
author | drh <drh@noemail.net> | 2017-06-28 15:17:31 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-06-28 15:17:31 +0000 |
commit | 2fb960b545dd7bbdf101d8aced41d1448aa7477e (patch) | |
tree | 1f01446f05bbc21ab73e85f74ad6fb87624c13b1 /ext/misc/csv.c | |
parent | 8b471e7e7961f0a2c898a009d053eb13822a2113 (diff) | |
download | sqlite-2fb960b545dd7bbdf101d8aced41d1448aa7477e.tar.gz sqlite-2fb960b545dd7bbdf101d8aced41d1448aa7477e.zip |
Fix harmless compiler warnings in the CSV extension.
FossilOrigin-Name: f02a54599de7620438aecd3753199fc52ce8919d7503bb8b2f5592b0e51dbf8c
Diffstat (limited to 'ext/misc/csv.c')
-rw-r--r-- | ext/misc/csv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/misc/csv.c b/ext/misc/csv.c index bcafdc526..6d9963427 100644 --- a/ext/misc/csv.c +++ b/ext/misc/csv.c @@ -256,10 +256,10 @@ static char *csv_read_one_field(CsvReader *p){ /* If this is the first field being parsed and it begins with the ** UTF-8 BOM (0xEF BB BF) then skip the BOM */ if( (c&0xff)==0xef && p->bNotFirst==0 ){ - csv_append(p, c); + csv_append(p, (char)c); c = csv_getc(p); if( (c&0xff)==0xbb ){ - csv_append(p, c); + csv_append(p, (char)c); c = csv_getc(p); if( (c&0xff)==0xbf ){ p->bNotFirst = 1; |