aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/json1.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-03-23 00:46:15 +0000
committerdrh <drh@noemail.net>2017-03-23 00:46:15 +0000
commit0002d246a94f03b7947c0fe4156f2dcc31cd722b (patch)
treec61b8caeeb68519cc6e455d6c325d80f74b892b1 /ext/misc/json1.c
parentbb7aa2d85e684d0db13c93c1e6dbb0e2f3bfb1ab (diff)
downloadsqlite-0002d246a94f03b7947c0fe4156f2dcc31cd722b.tar.gz
sqlite-0002d246a94f03b7947c0fe4156f2dcc31cd722b.zip
Fix harmless compiler warnings in the new json_merge_patch() logic.
FossilOrigin-Name: 5d2cf5a2f8afd88d041d89b3936042ce5a43629d23c48738cb2791b24da3e6af
Diffstat (limited to 'ext/misc/json1.c')
-rw-r--r--ext/misc/json1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/misc/json1.c b/ext/misc/json1.c
index f03bdc665..31e03d1e7 100644
--- a/ext/misc/json1.c
+++ b/ext/misc/json1.c
@@ -1363,8 +1363,8 @@ static JsonNode *jsonMergePatch(
int iTarget, /* Node of the TARGET in pParse */
JsonNode *pPatch /* The PATCH */
){
- int i, j;
- int iRoot;
+ u32 i, j;
+ u32 iRoot;
JsonNode *pTarget;
if( pPatch->eType!=JSON_OBJECT ){
return pPatch;