From c6de7dfa6962a865eca01552820c3484550a8f1d Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sat, 22 Apr 2023 09:31:38 +0200 Subject: [PATCH] Inform Coverity Scan we use relative time for alarm() Signed-off-by: Joachim Wiberg --- src/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timer.c b/src/timer.c index 025b650..3c49ef3 100644 --- a/src/timer.c +++ b/src/timer.c @@ -106,7 +106,7 @@ static int __timer_start(void) if (sec <= 0) sec = 1; - return alarm(sec); + return alarm((unsigned int)sec); } /*