mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
LP64 fix: don't cast pointer to int
Reviewed by: gallatin, ticso
This commit is contained in:
parent
2ea0fdfb65
commit
958a88fbf7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99173
@ -188,7 +188,7 @@ init_timer()
|
||||
/*
|
||||
* Set up signal handler
|
||||
*/
|
||||
if ((int)signal(SIGALRM, timer_tick) == -1) {
|
||||
if (signal(SIGALRM, timer_tick) == SIG_ERR) {
|
||||
return(errno);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user