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) |
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, 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; |