| Index: third_party/sqlite/sqlite-src-3100200/ext/fts1/fts1.c
|
| diff --git a/third_party/sqlite/src/ext/fts1/fts1.c b/third_party/sqlite/sqlite-src-3100200/ext/fts1/fts1.c
|
| similarity index 99%
|
| copy from third_party/sqlite/src/ext/fts1/fts1.c
|
| copy to third_party/sqlite/sqlite-src-3100200/ext/fts1/fts1.c
|
| index 482cf759ba1d176e004dc0c33ab08a6cc8297665..77fa9e23f595cbb62948f3440ca10fd99aa123b6 100644
|
| --- a/third_party/sqlite/src/ext/fts1/fts1.c
|
| +++ b/third_party/sqlite/sqlite-src-3100200/ext/fts1/fts1.c
|
| @@ -205,13 +205,13 @@ static int getVarint32(const char *p, int *pi){
|
| */
|
| /* TODO(shess) Is __isascii() a portable version of (c&0x80)==0? */
|
| static int safe_isspace(char c){
|
| - return (c&0x80)==0 ? isspace(c) : 0;
|
| + return (c&0x80)==0 ? isspace((unsigned char)c) : 0;
|
| }
|
| static int safe_tolower(char c){
|
| - return (c&0x80)==0 ? tolower(c) : c;
|
| + return (c&0x80)==0 ? tolower((unsigned char)c) : c;
|
| }
|
| static int safe_isalnum(char c){
|
| - return (c&0x80)==0 ? isalnum(c) : 0;
|
| + return (c&0x80)==0 ? isalnum((unsigned char)c) : 0;
|
| }
|
|
|
| typedef enum DocListType {
|
|
|