diff options
-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, |