[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: style fix: use correct type
From: |
gnunet |
Subject: |
[gnunet] branch master updated: style fix: use correct type |
Date: |
Sun, 05 Jul 2020 22:05:28 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 7247d3f1f style fix: use correct type
new de4c25671 Merge branch 'master' of git+ssh://gnunet.org/gnunet
7247d3f1f is described below
commit 7247d3f1ff651bd71a4e8bc287422be4845bb730
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Jul 5 21:59:40 2020 +0200
style fix: use correct type
---
src/json/json_helper.c | 6 +++---
1 file 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,
.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
};
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: style fix: use correct type,
gnunet <=