aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newlib/libm/common/sf_round.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/common/sf_round.c b/newlib/libm/common/sf_round.c
index db1cf54..6c9087d 100644
--- a/newlib/libm/common/sf_round.c
+++ b/newlib/libm/common/sf_round.c
@@ -29,7 +29,7 @@
signbit = w & 0x80000000;
/* Extract exponent field. */
- exponent_less_127 = ((w & 0x7f800000) >> 23) - 127;
+ exponent_less_127 = (int)((w & 0x7f800000) >> 23) - 127;
if (exponent_less_127 < 23)
{