summaryrefslogtreecommitdiffstats
path: root/Modules/fpectlmodule.c
diff options
context:
space:
mode:
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 ----------------------------------------------------*/