gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 02/04: response.c: fixed compiler warning on x32 platfor


From: gnunet
Subject: [libmicrohttpd] 02/04: response.c: fixed compiler warning on x32 platforms
Date: Tue, 27 Dec 2022 14:21:43 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit a5504e361443ae54a63dcf42b83b4648032f4e51
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Dec 26 16:37:13 2022 +0300

    response.c: fixed compiler warning on x32 platforms
---
 src/microhttpd/response.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index b29f48f3..9cab223f 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -1634,8 +1634,10 @@ MHD_create_response_from_buffer_with_free_callback_cls 
(size_t size,
 
   if ((NULL == buffer) && (size > 0))
     return NULL;
+#if SIZEOF_SIZE_T >= SIZEOF_UINT64_T
   if (MHD_SIZE_UNKNOWN == size)
     return NULL;
+#endif /* SIZEOF_SIZE_T >= SIZEOF_UINT64_T */
   r = MHD_calloc_ (1, sizeof (struct MHD_Response));
   if (NULL == r)
     return NULL;

-- 
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]