diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2019-06-23 23:03:38 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2019-06-23 23:03:38 +0300 |
commit | 3610630cdc883dc4dca26abd24d0192825b6a978 (patch) | |
tree | 167317ad05db4c435af670112f9af4723efb5c29 | |
parent | cedf766b65bc9c4025f71121b02a9eb1ef0470b5 (diff) | |
download | libmicrohttpd-3610630cdc883dc4dca26abd24d0192825b6a978.tar.gz libmicrohttpd-3610630cdc883dc4dca26abd24d0192825b6a978.zip |
daemon.c: minor compiler warning fix
-rw-r--r-- | src/microhttpd/daemon.c | 2 |
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 | { |