From 2348fe4ae8ffe93765d5c56c3cc5d4490eae946d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 8 Apr 2020 15:48:58 +0200 Subject: [PATCH] fix warning --- src/json/json_generator.c | 4 ++-- 1 file 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) 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; -- 2.25.1