From 958a88fbf7f69df3d7a23f0f419254a92afef939 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Sun, 30 Jun 2002 23:36:21 +0000 Subject: [PATCH] LP64 fix: don't cast pointer to int Reviewed by: gallatin, ticso --- lib/libatm/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libatm/timer.c b/lib/libatm/timer.c index 39597f6733ed..898e2929a79e 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); }