From d4f0b78ac4aee107e9fe6c2637697a59decedbab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Tremblay?= <1619947+marctrem@users.noreply.github.com> Date: Fri, 1 Dec 2023 23:13:16 +0000 Subject: [PATCH] bug: fix implicit conversion double/long --- src/app/fddev/configure/kill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/fddev/configure/kill.c b/src/app/fddev/configure/kill.c index f3bfe20928..c53d606cb0 100644 --- a/src/app/fddev/configure/kill.c +++ b/src/app/fddev/configure/kill.c @@ -111,7 +111,7 @@ wait_dead( long started, if( FD_LIKELY( err==-1 && errno==ESRCH) ) return; else if( FD_LIKELY( err==-1 ) ) FD_LOG_ERR(( "kill failed (%i-%s)", errno, fd_io_strerror( errno ) )); - if( FD_UNLIKELY( fd_log_wallclock() - started ) >= 1e9 ) + if( FD_UNLIKELY( fd_log_wallclock() - started >= (long)1e9 ) ) FD_LOG_ERR(( "waited too long for process to exit" )); } }