summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-19 21:41:54 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-19 21:41:54 +0200
commite264221eb629019887019935e7680faa5ec36720 (patch)
tree4cf8db5943b577411a51e6a08337d279c64f575f
parentc3b24699c360725d9ce91e1cabefd9e8ddd2814c (diff)
fix FTBFS
-rw-r--r--src/json/json_helper.c6
1 files 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,