From 7247d3f1ff651bd71a4e8bc287422be4845bb730 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Jul 2020 21:59:40 +0200 Subject: style fix: use correct type --- src/json/json_helper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/json/json_helper.c') diff --git a/src/json/json_helper.c b/src/json/json_helper.c index 02bd6bfab..621487f0a 100644 --- a/src/json/json_helper.c +++ b/src/json/json_helper.c @@ -721,7 +721,7 @@ GNUNET_JSON_spec_absolute_time (const char *name, .cls = NULL, .field = name, .ptr = at, - .ptr_size = sizeof(uint64_t), + .ptr_size = sizeof(struct GNUNET_TIME_Absolute), .size_ptr = NULL }; @@ -775,7 +775,7 @@ GNUNET_JSON_spec_absolute_time_nbo (const char *name, .cls = NULL, .field = name, .ptr = at, - .ptr_size = sizeof(uint64_t), + .ptr_size = sizeof(struct GNUNET_TIME_AbsoluteNBO), .size_ptr = NULL }; @@ -852,7 +852,7 @@ GNUNET_JSON_spec_relative_time (const char *name, .cls = NULL, .field = name, .ptr = rt, - .ptr_size = sizeof(uint64_t), + .ptr_size = sizeof(struct GNUNET_TIME_Relative), .size_ptr = NULL }; -- cgit v1.2.3