aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-ieee754/s_roundtol.c')
-rw-r--r--sysdeps/libm-ieee754/s_roundtol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/libm-ieee754/s_roundtol.c b/sysdeps/libm-ieee754/s_roundtol.c
index 6649369b06..bc0ceae0f8 100644
--- a/sysdeps/libm-ieee754/s_roundtol.c
+++ b/sysdeps/libm-ieee754/s_roundtol.c
@@ -63,7 +63,7 @@ __roundtol (long double x)
}
else
{
- i = ((u_int32_t) (0xffffffff)) >> (j0 - 20);
+ u_int32_t i = ((u_int32_t) (0xffffffff)) >> (j0 - 20);
if ((i1 & i) != 0)
{
/* x is not integral. */
@@ -93,7 +93,7 @@ __roundtol (long double x)
{
result = (long int) ((i0 & 0xfffff) | 0x100000) << (j0 - 31);
if (sizeof (long int) > 4 && j0 > 31)
- result |= j >> (63 - j0);
+ result |= i1 >> (63 - j0);
}
}