LP64 fix: don't cast pointer to int
Reviewed by: gallatin, ticso
This commit is contained in:
parent
2ea0fdfb65
commit
958a88fbf7
@ -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…
x
Reference in New Issue
Block a user