fix warnings
authorChristian Grothoff <christian@grothoff.org>
Wed, 8 Apr 2020 22:21:45 +0000 (00:21 +0200)
committerChristian Grothoff <christian@grothoff.org>
Wed, 8 Apr 2020 22:21:45 +0000 (00:21 +0200)
src/pq/pq_query_helper.c

index 8bdf8144a7b647efbb5f3962839ddfc9e04e45cf..1290a6fb216c14323a2b98e927eee3025990cf36 100644 (file)
@@ -294,7 +294,7 @@ qconv_rsa_public_key (void *cls,
                       unsigned int scratch_length)
 {
   const struct GNUNET_CRYPTO_RsaPublicKey *rsa = data;
-  char *buf;
+  void *buf;
   size_t buf_size;
 
   GNUNET_break (NULL == cls);
@@ -354,7 +354,7 @@ qconv_rsa_signature (void *cls,
                      unsigned int scratch_length)
 {
   const struct GNUNET_CRYPTO_RsaSignature *sig = data;
-  char *buf;
+  void *buf;
   size_t buf_size;
 
   GNUNET_break (NULL == cls);