From: Christian Grothoff Date: Sun, 19 Apr 2020 19:41:54 +0000 (+0200) Subject: fix FTBFS X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e264221eb629019887019935e7680faa5ec36720;p=oweals%2Fgnunet.git fix FTBFS --- 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,