diff options
author | Nick Clifton <nickc@redhat.com> | 2009-04-16 15:39:46 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-04-16 15:39:46 +0000 |
commit | cc0748930ba913902f812f99c6ff426df255a1e0 (patch) | |
tree | f8bdbed59e5784e745166ed776ca37eeaf3e2766 /newlib/libm/common/s_lrint.c | |
parent | 03897d8dda6706148fb7aae9e86730d4b5840e22 (diff) | |
download | newlib-cc0748930ba913902f812f99c6ff426df255a1e0.zip newlib-cc0748930ba913902f812f99c6ff426df255a1e0.tar.gz newlib-cc0748930ba913902f812f99c6ff426df255a1e0.tar.bz2 |
Add new binutils target: moxie
Diffstat (limited to 'newlib/libm/common/s_lrint.c')
-rw-r--r-- | newlib/libm/common/s_lrint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/common/s_lrint.c b/newlib/libm/common/s_lrint.c index 5c15dd5..af94af7 100644 --- a/newlib/libm/common/s_lrint.c +++ b/newlib/libm/common/s_lrint.c @@ -110,7 +110,7 @@ TWO52[2]={ GET_HIGH_WORD(i0, t); /* Detect the all-zeros representation of plus and minus zero, which fails the calculation below. */ - if ((i0 & ~(1 << 31)) == 0) + if ((i0 & ~(1L << 31)) == 0) return 0; j0 = ((i0 & 0x7ff00000) >> 20) - 1023; i0 &= 0x000fffff; |