diff options
author | drh <> | 2023-12-14 15:38:57 +0000 |
---|---|---|
committer | drh <> | 2023-12-14 15:38:57 +0000 |
commit | 4a5c96ace3e8d5cee0c68106d6442499627a58dd (patch) | |
tree | 17c4a94e1e6709ab2577c016d71f73fe7dc04661 /src/json.c | |
parent | e6289d6dd041d7b908a8c4b936fe95425f51f5ce (diff) | |
download | sqlite-4a5c96ace3e8d5cee0c68106d6442499627a58dd.tar.gz sqlite-4a5c96ace3e8d5cee0c68106d6442499627a58dd.zip |
Fix harmless compiler warnings in JSON and FTS5.
FossilOrigin-Name: 90135efccfeb1046f002bfcbd8dfec9a1a3b40cbe1b5c714ae065b06368e354f
Diffstat (limited to 'src/json.c')
-rw-r--r-- | src/json.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/json.c b/src/json.c index c484f7956..a1441e809 100644 --- a/src/json.c +++ b/src/json.c @@ -1535,7 +1535,7 @@ json_parse_restart: break; }else{ if( jsonIsspace(z[j]) ){ - j += 1 + strspn(&z[j+1], jsonSpaces); + j += 1 + (u32)strspn(&z[j+1], jsonSpaces); if( z[j]==',' ){ continue; }else if( z[j]=='}' ){ @@ -1587,7 +1587,7 @@ json_parse_restart: break; }else{ if( jsonIsspace(z[j]) ){ - j += 1 + strspn(&z[j+1], jsonSpaces); + j += 1 + (u32)strspn(&z[j+1], jsonSpaces); if( z[j]==',' ){ continue; }else if( z[j]==']' ){ @@ -1850,7 +1850,7 @@ json_parse_restart: case 0x0a: case 0x0d: case 0x20: { - i += 1 + strspn(&z[i+1], jsonSpaces); + i += 1 + (u32)strspn(&z[i+1], jsonSpaces); goto json_parse_restart; } case 0x0b: |