summaryrefslogtreecommitdiffstats
path: root/Modules/fpectlmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-29 21:34:16 (GMT)
committerGuido van Rossum <guido@python.org>1997-04-29 21:34:16 (GMT)
commit1ed5e5768429f425f5bcb9f03bf04179dcca569f (patch)
tree74e39013dfe4bcd297fa3e0d80b7ae9ff356a53e /Modules/fpectlmodule.c
parent86bea46b3d16c4ed0453e17f241ddbdfade76c98 (diff)
downloadcpython-1ed5e5768429f425f5bcb9f03bf04179dcca569f.zip
cpython-1ed5e5768429f425f5bcb9f03bf04179dcca569f.tar.gz
cpython-1ed5e5768429f425f5bcb9f03bf04179dcca569f.tar.bz2
Keep gcc -Wall happy.
Diffstat (limited to 'Modules/fpectlmodule.c')
-rw-r--r--Modules/fpectlmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/fpectlmodule.c b/Modules/fpectlmodule.c
index 9fcc462..0b7e8d7 100644
--- a/Modules/fpectlmodule.c
+++ b/Modules/fpectlmodule.c
@@ -121,11 +121,11 @@ static void fpe_reset(Sigfunc *handler)
handle_sigfpes(_OFF, 0,
(user_routine *)0,
_TURN_OFF_HANDLER_ON_ERROR,
- (abort_routine*)0);
+ NULL);
handle_sigfpes(_ON, _EN_OVERFL | _EN_DIVZERO | _EN_INVALID,
(user_routine *)0,
_ABORT_ON_ERROR,
- (abort_routine*)0);
+ NULL);
signal(SIGFPE, handler);
/*-- SunOS and Solaris ----------------------------------------------------*/