aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390/fpu/fegetenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/fpu/fegetenv.c')
-rw-r--r--sysdeps/s390/fpu/fegetenv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/s390/fpu/fegetenv.c b/sysdeps/s390/fpu/fegetenv.c
index 438526aa95..b35a76a4e8 100644
--- a/sysdeps/s390/fpu/fegetenv.c
+++ b/sysdeps/s390/fpu/fegetenv.c
@@ -1,5 +1,5 @@
/* Store current floating-point environment.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com).
@@ -36,7 +36,7 @@ fegetenv (fenv_t *envp)
no way to find out the ieee instruction pointer if there was no fault. */
_FPU_GETCW (envp->fpc);
envp->ieee_instruction_pointer =
- ptrace (PTRACE_PEEKUSER, getpid (), PT_IEEE_IP);
+ (void *) ptrace (PTRACE_PEEKUSER, getpid (), PT_IEEE_IP);
/* Success. */
return 0;