diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-05-25 13:23:28 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-06-01 13:03:11 +0300 |
commit | 61b407a25a6f9c3d761685b6ebad4065c2b4775e (patch) | |
tree | 06214593ee6ac8fc9a558a311697f44715ad22f9 | |
parent | 5da716e8c2267a1b8a2fe82506e872c8491645c2 (diff) | |
download | libmicrohttpd-61b407a25a6f9c3d761685b6ebad4065c2b4775e.tar.gz libmicrohttpd-61b407a25a6f9c3d761685b6ebad4065c2b4775e.zip |
Avoided potential compiler warnings
-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 14ef7e2a..df4038fd 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -4269,7 +4269,7 @@ get_timeout_millisec_ (struct MHD_Daemon *daemon, | |||
4269 | if ((0 < max_timeout) && ((uint64_t) max_timeout < d_timeout)) | 4269 | if ((0 < max_timeout) && ((uint64_t) max_timeout < d_timeout)) |
4270 | return max_timeout; | 4270 | return max_timeout; |
4271 | 4271 | ||
4272 | if (INT64_MAX < d_timeout) | 4272 | if (INT64_MAX <= d_timeout) |
4273 | return INT64_MAX; | 4273 | return INT64_MAX; |
4274 | 4274 | ||
4275 | return (int64_t) d_timeout; | 4275 | return (int64_t) d_timeout; |