LP64 fix: don't cast pointer to int

Reviewed by:	gallatin, ticso
This commit is contained in:
Christian Weisgerber 2002-06-30 23:36:21 +00:00
parent 2ea0fdfb65
commit 958a88fbf7

View File

@ -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);
}