gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 04/10: test_get_iovec: fixed compiler warning


From: gnunet
Subject: [libmicrohttpd] 04/10: test_get_iovec: fixed compiler warning
Date: Thu, 01 Apr 2021 20:39:00 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit d27d2b3857f86e566d0e2abe658b68dcd0b2ff95
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Apr 1 20:21:33 2021 +0300

    test_get_iovec: fixed compiler warning
---
 src/testcurl/test_get_iovec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/testcurl/test_get_iovec.c b/src/testcurl/test_get_iovec.c
index 0c58f26f..45658c96 100644
--- a/src/testcurl/test_get_iovec.c
+++ b/src/testcurl/test_get_iovec.c
@@ -99,7 +99,7 @@ iovncont_free_callback (void *cls)
   unsigned int i;
 
   for (i = 0; i < TESTSTR_IOVCNT; ++i)
-    free (iov[i].iov_base);
+    free ((void*) iov[i].iov_base);
   free (iov);
 }
 
@@ -245,7 +245,7 @@ err_out:
   for (j = 0; j < TESTSTR_IOVCNT; ++j)
   {
     if (NULL != iov[j].iov_base)
-      free (iov[j].iov_base);
+      free ((void*) iov[j].iov_base);
   }
   free (iov);
   return MHD_NO;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]