diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-11-05 13:38:40 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-11-05 13:38:40 +0000 |
commit | acfa885ff15833047b5bba0ce51be3c84fbd9719 (patch) | |
tree | 9161d765e971c119c283587861c24e5950737249 /ports/sysdeps/hppa | |
parent | 99252c8c6256d1afe91651d334cbef402d529fa5 (diff) | |
download | glibc-acfa885ff15833047b5bba0ce51be3c84fbd9719.tar.gz glibc-acfa885ff15833047b5bba0ce51be3c84fbd9719.tar.xz glibc-acfa885ff15833047b5bba0ce51be3c84fbd9719.zip |
Fix types of FE_DFL_ENV and FE_NOMASK_ENV (bug 14805).
Diffstat (limited to 'ports/sysdeps/hppa')
-rw-r--r-- | ports/sysdeps/hppa/fpu/bits/fenv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/sysdeps/hppa/fpu/bits/fenv.h b/ports/sysdeps/hppa/fpu/bits/fenv.h index 0618b1bb84..49e30185af 100644 --- a/ports/sysdeps/hppa/fpu/bits/fenv.h +++ b/ports/sysdeps/hppa/fpu/bits/fenv.h @@ -83,9 +83,9 @@ typedef struct } fenv_t; /* If the default argument is used we use this value. */ -#define FE_DFL_ENV ((fenv_t *) -1) +#define FE_DFL_ENV ((const fenv_t *) -1) #ifdef __USE_GNU /* Floating-point environment where none of the exceptions are masked. */ -# define FE_NOMASK_ENV ((fenv_t *) -2) +# define FE_NOMASK_ENV ((const fenv_t *) -2) #endif |