[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 31/36: Avoided potential compiler warnings
From: |
gnunet |
Subject: |
[libmicrohttpd] 31/36: Avoided potential compiler warnings |
Date: |
Thu, 01 Jun 2023 12:30:36 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 61b407a25a6f9c3d761685b6ebad4065c2b4775e
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu May 25 13:23:28 2023 +0300
Avoided potential compiler warnings
---
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 14ef7e2a..df4038fd 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -4269,7 +4269,7 @@ get_timeout_millisec_ (struct MHD_Daemon *daemon,
if ((0 < max_timeout) && ((uint64_t) max_timeout < d_timeout))
return max_timeout;
- if (INT64_MAX < d_timeout)
+ if (INT64_MAX <= d_timeout)
return INT64_MAX;
return (int64_t) d_timeout;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 26/36: test_client_put_stop: fixed typo in diag message, (continued)
- [libmicrohttpd] 26/36: test_client_put_stop: fixed typo in diag message, gnunet, 2023/06/01
- [libmicrohttpd] 25/36: Detect sysctl() symbols in configure, gnunet, 2023/06/01
- [libmicrohttpd] 28/36: contrib/make-dist.sh: added use of zopfli if available, gnunet, 2023/06/01
- [libmicrohttpd] 29/36: daemon.c: redesigned code for clarity and formatting, gnunet, 2023/06/01
- [libmicrohttpd] 35/36: autoinit_funcs.h: fixed warning on MSVC, gnunet, 2023/06/01
- [libmicrohttpd] 27/36: Added support for custom command for tarball compression, gnunet, 2023/06/01
- [libmicrohttpd] 15/36: examples/largepost.c: fixed caseless method match, gnunet, 2023/06/01
- [libmicrohttpd] 20/36: tests: unified use of function name macros, gnunet, 2023/06/01
- [libmicrohttpd] 21/36: Added internal preprocessor macro for magic macro presence, gnunet, 2023/06/01
- [libmicrohttpd] 30/36: Fixed compiler warning when built without poll() support, gnunet, 2023/06/01
- [libmicrohttpd] 31/36: Avoided potential compiler warnings,
gnunet <=
- [libmicrohttpd] 32/36: Added macro for base64 decoded size, gnunet, 2023/06/01
- [libmicrohttpd] 36/36: W32 VS Project: fixed warning with external build systems, gnunet, 2023/06/01
- [libmicrohttpd] 34/36: W32 VS Project: minor internal fixes, fixed files for "dist", gnunet, 2023/06/01
- [libmicrohttpd] 33/36: W32 VS project: reverted to standard arches names, gnunet, 2023/06/01