diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-08 15:48:58 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-08 15:48:58 +0200 |
commit | 2348fe4ae8ffe93765d5c56c3cc5d4490eae946d (patch) | |
tree | bcfe2aa9d342e9db62386398676195720c86a5a8 /src | |
parent | 17113fc2fd9d8607151dc4fecdbc161abb3b32fa (diff) | |
download | gnunet-2348fe4ae8ffe93765d5c56c3cc5d4490eae946d.tar.gz gnunet-2348fe4ae8ffe93765d5c56c3cc5d4490eae946d.zip |
fix warning
Diffstat (limited to 'src')
-rw-r--r-- | src/json/json_generator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/json/json_generator.c b/src/json/json_generator.c index 9b2fb7fbb..dd875871e 100644 --- a/src/json/json_generator.c +++ b/src/json/json_generator.c | |||
@@ -166,7 +166,7 @@ GNUNET_JSON_from_time_rel (struct GNUNET_TIME_Relative stamp) | |||
166 | json_t * | 166 | json_t * |
167 | GNUNET_JSON_from_rsa_public_key (const struct GNUNET_CRYPTO_RsaPublicKey *pk) | 167 | GNUNET_JSON_from_rsa_public_key (const struct GNUNET_CRYPTO_RsaPublicKey *pk) |
168 | { | 168 | { |
169 | char *buf; | 169 | void *buf; |
170 | size_t buf_len; | 170 | size_t buf_len; |
171 | json_t *ret; | 171 | json_t *ret; |
172 | 172 | ||
@@ -188,7 +188,7 @@ GNUNET_JSON_from_rsa_public_key (const struct GNUNET_CRYPTO_RsaPublicKey *pk) | |||
188 | json_t * | 188 | json_t * |
189 | GNUNET_JSON_from_rsa_signature (const struct GNUNET_CRYPTO_RsaSignature *sig) | 189 | GNUNET_JSON_from_rsa_signature (const struct GNUNET_CRYPTO_RsaSignature *sig) |
190 | { | 190 | { |
191 | char *buf; | 191 | void *buf; |
192 | size_t buf_len; | 192 | size_t buf_len; |
193 | json_t *ret; | 193 | json_t *ret; |
194 | 194 | ||