summaryrefslogtreecommitdiff
path: root/ports/sysdeps/hppa
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2012-11-29 10:24:41 -0500
committerCarlos O'Donell <carlos@systemhalted.org>2012-11-29 17:59:59 -0500
commit80ceeaeef9ae1f4941546beb47f4b603a836208b (patch)
treeb1b9394b50deeea75a514d95abda3a4386995c8c /ports/sysdeps/hppa
parente10c4e4fdb3b90f398c0f26dde0143c2558834b5 (diff)
downloadglibc-80ceeaeef9ae1f4941546beb47f4b603a836208b.tar.gz
hppa: Cleanup two build warnings for integer to pointers casts.
Diffstat (limited to 'ports/sysdeps/hppa')
-rw-r--r--ports/sysdeps/hppa/fpu/feholdexcpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/sysdeps/hppa/fpu/feholdexcpt.c b/ports/sysdeps/hppa/fpu/feholdexcpt.c
index 6e3cabd88a..ad2b0d0b48 100644
--- a/ports/sysdeps/hppa/fpu/feholdexcpt.c
+++ b/ports/sysdeps/hppa/fpu/feholdexcpt.c
@@ -1,5 +1,5 @@
/* Store current floating-point environment and clear exceptions.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by David Huggins-Daines <dhd@debian.org>, 2000
@@ -42,7 +42,7 @@ feholdexcept (fenv_t *envp)
/* Load the new environment. Note: fr0 must load last to enable T-bit
Thus we start bufptr at the end and work backwards */
- bufptr = (unsigned int)(clear.buf) + sizeof(unsigned int)*4;
+ bufptr = (unsigned long long *)((unsigned int)(clear.buf) + sizeof(unsigned int)*4);
__asm__ (
"fldd,mb -8(%0),%%fr0\n"
: : "r" (bufptr), "m" (clear) : "%r0");