diff options
author | drh <> | 2023-05-01 18:52:35 +0000 |
---|---|---|
committer | drh <> | 2023-05-01 18:52:35 +0000 |
commit | 59fe13e39a118e64558291e3fe211203043b84d4 (patch) | |
tree | 93b3df7e3aa630513d5611e7f8fb298357cbfff2 /src/json.c | |
parent | abdcfcef83991c6dba82befbc6683441ffb6619f (diff) | |
download | sqlite-59fe13e39a118e64558291e3fe211203043b84d4.tar.gz sqlite-59fe13e39a118e64558291e3fe211203043b84d4.zip |
Fix harmless compiler warnings.
FossilOrigin-Name: 0a926994691ccb02ea4f0ba3c2e8f728871ae67d24c705fbc0f7af81f38d5f47
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 aae48c291..b7cd6cbdf 100644 --- a/src/json.c +++ b/src/json.c @@ -303,7 +303,7 @@ static void jsonAppendString(JsonString *p, const char *zIn, u32 N){ ** features. */ static void jsonAppendNormalizedString(JsonString *p, const char *zIn, u32 N){ - int i; + u32 i; jsonAppendChar(p, '"'); zIn++; N -= 2; @@ -391,7 +391,7 @@ static void jsonAppendNormalizedInt(JsonString *p, const char *zIn, u32 N){ ** features. */ static void jsonAppendNormalizedReal(JsonString *p, const char *zIn, u32 N){ - int i; + u32 i; if( zIn[0]=='+' ){ zIn++; N--; @@ -2608,7 +2608,7 @@ static void jsonErrorFunc( sqlite3_result_int(ctx, 0); }else{ int n = 1; - int i; + u32 i; const char *z = p->zJson; for(i=0; i<p->iErr && ALWAYS(z[i]); i++){ if( (z[i]&0xc0)!=0x80 ) n++; |