projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17113fc
)
fix warning
author
Christian Grothoff
<christian@grothoff.org>
Wed, 8 Apr 2020 13:48:58 +0000
(15:48 +0200)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 8 Apr 2020 13:48:58 +0000
(15:48 +0200)
src/json/json_generator.c
patch
|
blob
|
history
diff --git
a/src/json/json_generator.c
b/src/json/json_generator.c
index 9b2fb7fbb866173ff412400a8b23765c81dbcd5f..dd875871e5fd8b4701648cb76a9d71dc30802efa 100644
(file)
--- 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)
json_t *
GNUNET_JSON_from_rsa_public_key (const struct GNUNET_CRYPTO_RsaPublicKey *pk)
{
-
char
*buf;
+
void
*buf;
size_t buf_len;
json_t *ret;
@@
-188,7
+188,7
@@
GNUNET_JSON_from_rsa_public_key (const struct GNUNET_CRYPTO_RsaPublicKey *pk)
json_t *
GNUNET_JSON_from_rsa_signature (const struct GNUNET_CRYPTO_RsaSignature *sig)
{
-
char
*buf;
+
void
*buf;
size_t buf_len;
json_t *ret;