commit 7247d3f1ff651bd71a4e8bc287422be4845bb730
parent 03ca3c27142db7182a14a4e7096394f5b7225340
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 5 Jul 2020 21:59:40 +0200
style fix: use correct type
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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
};