From ea2af26043626cce55951657dd0c8d5ba39ab935 Mon Sep 17 00:00:00 2001 From: naddy Date: Sun, 30 Jun 2002 23:36:21 +0000 Subject: LP64 fix: don't cast pointer to int Reviewed by: gallatin, ticso --- lib/libatm/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libatm') diff --git a/lib/libatm/timer.c b/lib/libatm/timer.c index 39597f6..898e292 100644 --- a/lib/libatm/timer.c +++ b/lib/libatm/timer.c @@ -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); } -- cgit v1.1