diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2005-02-24 19:02:35 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2005-02-24 19:02:35 +0000 |
commit | 2598f908ca5317ae743f875ca1351185909ab3a6 (patch) | |
tree | fe62cc4a544c91f4f71f82cfdfa829273486d28b /newlib/libm/common/sf_round.c | |
parent | f4fd7b4c72428d56d4a43a6b04e6e5a6eae26c18 (diff) | |
download | newlib-2598f908ca5317ae743f875ca1351185909ab3a6.zip newlib-2598f908ca5317ae743f875ca1351185909ab3a6.tar.gz newlib-2598f908ca5317ae743f875ca1351185909ab3a6.tar.bz2 |
Add (int) cast.
Diffstat (limited to 'newlib/libm/common/sf_round.c')
-rw-r--r-- | newlib/libm/common/sf_round.c | 2 |
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) { |