Inform Coverity Scan we use relative time for alarm()

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg 2023-04-22 09:31:38 +02:00
parent 0cde7cbcc5
commit c6de7dfa69

View File

@ -106,7 +106,7 @@ static int __timer_start(void)
if (sec <= 0)
sec = 1;
return alarm(sec);
return alarm((unsigned int)sec);
}
/*