gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 01/02: daemon.c: minor compiler warning fix


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 01/02: daemon.c: minor compiler warning fix
Date: Sun, 23 Jun 2019 22:15:41 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 3610630cdc883dc4dca26abd24d0192825b6a978
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun Jun 23 23:03:38 2019 +0300

    daemon.c: minor compiler warning fix
---
 src/microhttpd/daemon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index b5d151b4..8e1a7ab8 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -3815,7 +3815,7 @@ MHD_poll_all (struct MHD_Daemon *daemon,
     struct pollfd *p;
     MHD_socket ls;
 
-    p = MHD_calloc_ ((2 + num_connections),
+    p = MHD_calloc_ ((2 + (size_t)num_connections),
                      sizeof (struct pollfd));
     if (NULL == p)
       {

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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