Fix compiler warnings on 32-bit platforms in json.c.

This commit is contained in:
Jordan Bancino 2024-01-13 20:25:16 -05:00
parent 19443a1c24
commit 85672985eb
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ query(char *select, HashMap * json, int canonical)
int expectArr = 0;
int func = 0;
expectArr = (sscanf(key, "%127[^[][%lu]", keyName, &arrInd) == 2);
expectArr = (sscanf(key, "%127[^[][%zu]", keyName, &arrInd) == 2);
if (keyName[0] == '@')
{