aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/json1.c
diff options
context:
space:
mode:
authormistachkin <mistachkin@noemail.net>2015-10-12 22:20:29 +0000
committermistachkin <mistachkin@noemail.net>2015-10-12 22:20:29 +0000
commitf2c26ed17b3e4f09a84d8574185b34fcaf1fe322 (patch)
tree793a0154722fc296c0b44b8ae6e18baa0ab5a2c9 /ext/misc/json1.c
parentdf705d8185df5691474314a3f07ec9cf18d3770d (diff)
downloadsqlite-f2c26ed17b3e4f09a84d8574185b34fcaf1fe322.tar.gz
sqlite-f2c26ed17b3e4f09a84d8574185b34fcaf1fe322.zip
Fix a couple harmless compiler warnings.
FossilOrigin-Name: 7f896a971c5953d5370215ecd834d1fb711b4263
Diffstat (limited to 'ext/misc/json1.c')
-rw-r--r--ext/misc/json1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/misc/json1.c b/ext/misc/json1.c
index c968011ee..d5f019ff9 100644
--- a/ext/misc/json1.c
+++ b/ext/misc/json1.c
@@ -885,7 +885,7 @@ static int jsonParseFindParents(JsonParse *pParse){
** Compare the OBJECT label at pNode against zKey,nKey. Return true on
** a match.
*/
-static int jsonLabelCompare(JsonNode *pNode, const char *zKey, int nKey){
+static int jsonLabelCompare(JsonNode *pNode, const char *zKey, u32 nKey){
if( pNode->jnFlags & JNODE_RAW ){
if( pNode->n!=nKey ) return 0;
return strncmp(pNode->u.zJContent, zKey, nKey)==0;