gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 02/05: connection.c: fixed harmless compiler warning


From: gnunet
Subject: [libmicrohttpd] 02/05: connection.c: fixed harmless compiler warning
Date: Wed, 27 Oct 2021 19:56:42 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 54e679e5a7e968c14e44f0aa5511e63542aba9e9
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Oct 26 10:42:50 2021 +0300

    connection.c: fixed harmless compiler warning
---
 src/microhttpd/connection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index e5ca32d1..d7374b5a 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1157,7 +1157,7 @@ try_ready_chunked_body (struct MHD_Connection *connection,
   if (max_chunk < size_to_fill)
     size_to_fill = max_chunk;
   if (left_to_send < size_to_fill)
-    size_to_fill = left_to_send;
+    size_to_fill = (size_t) left_to_send;
 
   if (0 == left_to_send)
     /* nothing to send, don't bother calling crc */

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