aboutsummaryrefslogtreecommitdiff
path: root/src/json/json_helper.c
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 /src/json/json_helper.c
parentc3b24699c360725d9ce91e1cabefd9e8ddd2814c (diff)
downloadgnunet-e264221eb629019887019935e7680faa5ec36720.tar.gz
gnunet-e264221eb629019887019935e7680faa5ec36720.zip
fix FTBFS
Diffstat (limited to 'src/json/json_helper.c')
-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,
554 * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error 554 * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error
555 */ 555 */
556static int 556static int
557parse_u64 (void *cls, 557parse_i64 (void *cls,
558 json_t *root, 558 json_t *root,
559 struct GNUNET_JSON_Specification *spec) 559 struct GNUNET_JSON_Specification *spec)
560{ 560{
@@ -579,8 +579,8 @@ parse_u64 (void *cls,
579 * @param[out] i64 where to store the integer found under @a name 579 * @param[out] i64 where to store the integer found under @a name
580 */ 580 */
581struct GNUNET_JSON_Specification 581struct GNUNET_JSON_Specification
582GNUNET_JSON_spec_uint64 (const char *name, 582GNUNET_JSON_spec_int64 (const char *name,
583 int64_t *i64) 583 int64_t *i64)
584{ 584{
585 struct GNUNET_JSON_Specification ret = { 585 struct GNUNET_JSON_Specification ret = {
586 .parser = &parse_i64, 586 .parser = &parse_i64,