Fix compiler warnings on 32-bit platforms in json.c.
Compile Telodendria / Compile Telodendria (x86_64, freebsd-v14.0) (push) Failing after 14s Details
Compile Telodendria / Compile Telodendria (x86, freebsd-v14.0) (push) Failing after 16s Details
Compile Telodendria / Compile Telodendria (x86, debian-v12.4) (push) Failing after 23s Details
Compile Telodendria / Compile Telodendria (x86_64, alpine-v3.19) (push) Failing after 19s Details
Compile Telodendria / Compile Telodendria (x86, alpine-v3.19) (push) Failing after 22s Details
Compile Telodendria / Compile Telodendria (x86, netbsd-v9.3) (push) Failing after 24s Details
Compile Telodendria / Compile Telodendria (x86_64, debian-v12.4) (push) Failing after 24s Details
Compile Telodendria / Compile Telodendria (x86_64, netbsd-v9.3) (push) Failing after 28s Details
Compile Telodendria / Compile Telodendria (x86_64, openbsd-v7.4) (push) Failing after 36s Details

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] == '@')
{