1
0
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:
Christian Weisgerber 2002-06-30 23:36:21 +00:00
parent 2ea0fdfb65
commit 958a88fbf7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99173

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