From 86f53a3dda1e63607b60ccacec24d7f31f3b7fc7 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Thu, 5 May 2022 15:03:19 +0300 Subject: [PATCH] daemon: muted compiler warning --- 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 65529b3c..404fccf1 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c @@ -4142,7 +4142,7 @@ MHD_get_timeout_i (struct MHD_Daemon *daemon) #else /* SIZEOF_INT < SIZEOF_INT64_T */ const int64_t to64 = MHD_get_timeout64s (daemon); if (INT_MAX >= to64) - return to64; + return (int) to64; return INT_MAX; #endif /* SIZEOF_INT < SIZEOF_INT64_T */ }