diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2012-05-28 01:03:18 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2012-05-28 01:03:18 +0200 |
commit | 04fb54b50745587b5bfb7baff66ac9f69ac92db9 (patch) | |
tree | 60c88a65118d7f9ee50a06d6be54b23cdedca775 /sysdeps/sh/sh4/fpu/fesetenv.c | |
parent | 3f99608f823af08c833c85e84740bc182acafd71 (diff) | |
download | glibc-04fb54b50745587b5bfb7baff66ac9f69ac92db9.tar.gz glibc-04fb54b50745587b5bfb7baff66ac9f69ac92db9.tar.xz glibc-04fb54b50745587b5bfb7baff66ac9f69ac92db9.zip |
SH: Use fpu_control_t for the temporary FPU control word.
Diffstat (limited to 'sysdeps/sh/sh4/fpu/fesetenv.c')
-rw-r--r-- | sysdeps/sh/sh4/fpu/fesetenv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/sh/sh4/fpu/fesetenv.c b/sysdeps/sh/sh4/fpu/fesetenv.c index 34d3461fc7..55fd1f66b1 100644 --- a/sysdeps/sh/sh4/fpu/fesetenv.c +++ b/sysdeps/sh/sh4/fpu/fesetenv.c @@ -1,5 +1,5 @@ /* Install given floating-point environment. - Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc. + Copyright (C) 1997-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -26,7 +26,7 @@ fesetenv (const fenv_t *envp) _FPU_SETCW (_FPU_DEFAULT); else { - unsigned long int temp = envp->__fpscr; + fpu_control_t temp = envp->__fpscr; _FPU_SETCW (temp); } return 0; |