summaryrefslogtreecommitdiffstats
path: root/Modules/fpectlmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/fpectlmodule.c')
-rw-r--r--Modules/fpectlmodule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/fpectlmodule.c b/Modules/fpectlmodule.c
index 404f692..42ef0f6 100644
--- a/Modules/fpectlmodule.c
+++ b/Modules/fpectlmodule.c
@@ -125,7 +125,8 @@ static void fpe_reset(Sigfunc *handler)
extern long ieee_handler(const char*, const char*, sigfpe_handler_type);
#endif
- char *mode="exception", *in="all", *out;
+ const char *mode="exception", *in="all";
+ char *out;
(void) nonstandard_arithmetic();
(void) ieee_flags("clearall",mode,in,&out);
(void) ieee_handler("set","common",(sigfpe_handler_type)handler);