commit 86f53a3dda1e63607b60ccacec24d7f31f3b7fc7
parent a7aa1266e17c439ea7b7f2810c705e721ed56c0a
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Thu, 5 May 2022 15:03:19 +0300
daemon: muted compiler warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 */
}