From: Christian Grothoff Date: Wed, 8 Apr 2020 13:48:58 +0000 (+0200) Subject: fix warning X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2348fe4ae8ffe93765d5c56c3cc5d4490eae946d;p=oweals%2Fgnunet.git fix warning --- 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) 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;