aboutsummaryrefslogtreecommitdiff
path: root/src/json/json_helper.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-05 21:59:40 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-05 21:59:40 +0200
commit7247d3f1ff651bd71a4e8bc287422be4845bb730 (patch)
tree68fdb05c59ef04b6104dd600502755b02be9fa6c /src/json/json_helper.c
parent03ca3c27142db7182a14a4e7096394f5b7225340 (diff)
downloadgnunet-7247d3f1ff651bd71a4e8bc287422be4845bb730.tar.gz
gnunet-7247d3f1ff651bd71a4e8bc287422be4845bb730.zip
style fix: use correct type
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 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,
721 .cls = NULL, 721 .cls = NULL,
722 .field = name, 722 .field = name,
723 .ptr = at, 723 .ptr = at,
724 .ptr_size = sizeof(uint64_t), 724 .ptr_size = sizeof(struct GNUNET_TIME_Absolute),
725 .size_ptr = NULL 725 .size_ptr = NULL
726 }; 726 };
727 727
@@ -775,7 +775,7 @@ GNUNET_JSON_spec_absolute_time_nbo (const char *name,
775 .cls = NULL, 775 .cls = NULL,
776 .field = name, 776 .field = name,
777 .ptr = at, 777 .ptr = at,
778 .ptr_size = sizeof(uint64_t), 778 .ptr_size = sizeof(struct GNUNET_TIME_AbsoluteNBO),
779 .size_ptr = NULL 779 .size_ptr = NULL
780 }; 780 };
781 781
@@ -852,7 +852,7 @@ GNUNET_JSON_spec_relative_time (const char *name,
852 .cls = NULL, 852 .cls = NULL,
853 .field = name, 853 .field = name,
854 .ptr = rt, 854 .ptr = rt,
855 .ptr_size = sizeof(uint64_t), 855 .ptr_size = sizeof(struct GNUNET_TIME_Relative),
856 .size_ptr = NULL 856 .size_ptr = NULL
857 }; 857 };
858 858