summaryrefslogtreecommitdiffstats
path: root/lib/libatm
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-06-30 23:36:21 +0000
committernaddy <naddy@FreeBSD.org>2002-06-30 23:36:21 +0000
commitea2af26043626cce55951657dd0c8d5ba39ab935 (patch)
tree4f27b3246bdbc627e206dda7951837ced2731121 /lib/libatm
parenta1210c52bd7f78f806bc93c28162ae1afb108ba2 (diff)
downloadFreeBSD-src-ea2af26043626cce55951657dd0c8d5ba39ab935.zip
FreeBSD-src-ea2af26043626cce55951657dd0c8d5ba39ab935.tar.gz
LP64 fix: don't cast pointer to int
Reviewed by: gallatin, ticso
Diffstat (limited to 'lib/libatm')
-rw-r--r--lib/libatm/timer.c2
1 files changed, 1 insertions, 1 deletions
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);
}
OpenPOWER on IntegriCloud