summaryrefslogtreecommitdiffstats
path: root/libnetdata/json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-11-30 18:47:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-11-30 18:47:05 +0000
commit97e01009d69b8fbebfebf68f51e3d126d0ed43fc (patch)
tree02e8b836c3a9d89806f3e67d4a5fe9f52dbb0061 /libnetdata/json
parentReleasing debian version 1.36.1-1. (diff)
downloadnetdata-97e01009d69b8fbebfebf68f51e3d126d0ed43fc.tar.xz
netdata-97e01009d69b8fbebfebf68f51e3d126d0ed43fc.zip
Merging upstream version 1.37.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libnetdata/json')
-rw-r--r--libnetdata/json/json.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libnetdata/json/json.c b/libnetdata/json/json.c
index e03556b50..d5f62edaf 100644
--- a/libnetdata/json/json.c
+++ b/libnetdata/json/json.c
@@ -102,7 +102,7 @@ int json_callback_print(JSON_ENTRY *e)
case JSON_ARRAY:
e->callback_function = json_callback_print;
- sprintf(txt,"ARRAY[%lu]", e->data.items);
+ sprintf(txt,"ARRAY[%lu]", (long unsigned int) e->data.items);
buffer_strcat(wb, txt);
break;
@@ -553,4 +553,5 @@ int json_test(char *str)
{
return json_parse(str, NULL, json_callback_print);
}
- */ \ No newline at end of file
+ */
+