aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/microhttpd/daemon.c2
1 files changed, 1 insertions, 1 deletions
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,
3815 struct pollfd *p; 3815 struct pollfd *p;
3816 MHD_socket ls; 3816 MHD_socket ls;
3817 3817
3818 p = MHD_calloc_ ((2 + num_connections), 3818 p = MHD_calloc_ ((2 + (size_t)num_connections),
3819 sizeof (struct pollfd)); 3819 sizeof (struct pollfd));
3820 if (NULL == p) 3820 if (NULL == p)
3821 { 3821 {