[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 300/335: Fixed compiler warnings
From: |
gnunet |
Subject: |
[libmicrohttpd] 300/335: Fixed compiler warnings |
Date: |
Sat, 27 Jul 2024 22:03:16 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to tag stf-m2
in repository libmicrohttpd.
commit 60841a720a6b16f51390562e77b5a248498bd17a
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Jul 23 18:31:14 2024 +0200
Fixed compiler warnings
---
src/mhd2/daemon_start.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mhd2/daemon_start.c b/src/mhd2/daemon_start.c
index d5232ae0..e91b980b 100644
--- a/src/mhd2/daemon_start.c
+++ b/src/mhd2/daemon_start.c
@@ -1585,7 +1585,7 @@ allocate_events (struct MHD_Daemon *restrict d)
mhd_assert (0 == d->events.data.epoll.num_elements);
if (num_elements > d->conns.cfg.count_limit) /* Check for value overflow */
{
- const size_t upper_limit = (sizeof(void*) >= 8) ? 4096 : 1024;
+ const unsigned int upper_limit = (sizeof(void*) >= 8) ? 4096 : 1024;
/* Trade neglectable performance penalty for memory saving */
/* Very large amount of new events processed in batches */
@@ -1721,7 +1721,7 @@ init_itc (struct MHD_Daemon *restrict d)
mhd_LOG_MSG (d, MHD_SC_ITC_FD_OUTSIDE_OF_SET_RANGE, \
"The inter-thread communication FD value is " \
"higher than allowed");
- mhd_itc_destroy (d->threading.itc);
+ (void) mhd_itc_destroy (d->threading.itc);
mhd_itc_set_invalid (&(d->threading.itc));
return MHD_SC_ITC_FD_OUTSIDE_OF_SET_RANGE;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 285/335: test_client_server: use realistic timeouts, (continued)
- [libmicrohttpd] 285/335: test_client_server: use realistic timeouts, gnunet, 2024/07/27
- [libmicrohttpd] 288/335: Fixed copy-paste error, gnunet, 2024/07/27
- [libmicrohttpd] 296/335: Pre-init pointers to silent assert., gnunet, 2024/07/27
- [libmicrohttpd] 304/335: Fixed unpredictable behaviour of API function, gnunet, 2024/07/27
- [libmicrohttpd] 306/335: A very trivial fix, gnunet, 2024/07/27
- [libmicrohttpd] 301/335: Fixes, gnunet, 2024/07/27
- [libmicrohttpd] 307/335: sendfile() port, gnunet, 2024/07/27
- [libmicrohttpd] 314/335: fix default, gnunet, 2024/07/27
- [libmicrohttpd] 305/335: test_client_server: enabled all tests except sendfile, gnunet, 2024/07/27
- [libmicrohttpd] 310/335: -fix generation to match latest code, gnunet, 2024/07/27
- [libmicrohttpd] 300/335: Fixed compiler warnings,
gnunet <=
- [libmicrohttpd] 297/335: GET parameter parsing fixes, gnunet, 2024/07/27
- [libmicrohttpd] 308/335: Warnings mutes, gnunet, 2024/07/27
- [libmicrohttpd] 316/335: fix indent, gnunet, 2024/07/27
- [libmicrohttpd] 318/335: fixmes, gnunet, 2024/07/27
- [libmicrohttpd] 302/335: Fixes, gnunet, 2024/07/27
- [libmicrohttpd] 299/335: select() support, unrelated fixes, gnunet, 2024/07/27
- [libmicrohttpd] 319/335: avoid malloc in CustomSetters, gnunet, 2024/07/27
- [libmicrohttpd] 313/335: more MHD_socket fixes, gnunet, 2024/07/27
- [libmicrohttpd] 303/335: Reordered initialisation items, gnunet, 2024/07/27
- [libmicrohttpd] 323/335: mhd_public_api.h: removed hacks, gnunet, 2024/07/27