From e264221eb629019887019935e7680faa5ec36720 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 19 Apr 2020 21:41:54 +0200 Subject: [PATCH] fix FTBFS --- src/json/json_helper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/json/json_helper.c b/src/json/json_helper.c index ea8408762..74a92ce9f 100644 --- a/src/json/json_helper.c +++ b/src/json/json_helper.c @@ -554,7 +554,7 @@ GNUNET_JSON_spec_uint64 (const char *name, * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error */ static int -parse_u64 (void *cls, +parse_i64 (void *cls, json_t *root, struct GNUNET_JSON_Specification *spec) { @@ -579,8 +579,8 @@ parse_u64 (void *cls, * @param[out] i64 where to store the integer found under @a name */ struct GNUNET_JSON_Specification -GNUNET_JSON_spec_uint64 (const char *name, - int64_t *i64) +GNUNET_JSON_spec_int64 (const char *name, + int64_t *i64) { struct GNUNET_JSON_Specification ret = { .parser = &parse_i64, -- 2.25.1