Inform Coverity Scan we use relative time for alarm()
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
0cde7cbcc5
commit
c6de7dfa69
@ -106,7 +106,7 @@ static int __timer_start(void)
|
||||
if (sec <= 0)
|
||||
sec = 1;
|
||||
|
||||
return alarm(sec);
|
||||
return alarm((unsigned int)sec);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user