1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Fix a couple harmless compiler warnings.

FossilOrigin-Name: 7f896a971c5953d5370215ecd834d1fb711b4263
This commit is contained in:
mistachkin
2015-10-12 22:20:29 +00:00
parent df705d8185
commit f2c26ed17b
4 changed files with 10 additions and 11 deletions

View File

@ -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;