fix FTBFS
authorChristian Grothoff <christian@grothoff.org>
Sun, 19 Apr 2020 19:41:54 +0000 (21:41 +0200)
committerChristian Grothoff <christian@grothoff.org>
Sun, 19 Apr 2020 19:41:54 +0000 (21:41 +0200)
src/json/json_helper.c

index ea8408762e8fc685b208f55c8aa069f14ba5aada..74a92ce9f2fccc40fa6dc3d0177c05dfa7f22067 100644 (file)
@@ -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,