diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-19 21:41:54 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-19 21:41:54 +0200 |
commit | e264221eb629019887019935e7680faa5ec36720 (patch) | |
tree | 4cf8db5943b577411a51e6a08337d279c64f575f /src/json | |
parent | c3b24699c360725d9ce91e1cabefd9e8ddd2814c (diff) | |
download | gnunet-e264221eb629019887019935e7680faa5ec36720.tar.gz gnunet-e264221eb629019887019935e7680faa5ec36720.zip |
fix FTBFS
Diffstat (limited to 'src/json')
-rw-r--r-- | src/json/json_helper.c | 6 |
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 | */ |
556 | static int | 556 | static int |
557 | parse_u64 (void *cls, | 557 | parse_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 | */ |
581 | struct GNUNET_JSON_Specification | 581 | struct GNUNET_JSON_Specification |
582 | GNUNET_JSON_spec_uint64 (const char *name, | 582 | GNUNET_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, |