2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
* libm/common/sf_lround.c (lroundf): Cast sizeof calculation to int before comparing it to a signed int value.
This commit is contained in:
parent
70650b2db4
commit
309faeb5ca
@ -1,3 +1,8 @@
|
|||||||
|
2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
|
* libm/common/sf_lround.c (lroundf): Cast sizeof calculation
|
||||||
|
to int before comparing it to a signed int value.
|
||||||
|
|
||||||
2007-08-24 Hans-Peter Nilsson <hp@axis.com>
|
2007-08-24 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
* libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
|
* libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
w &= 0x7fffff;
|
w &= 0x7fffff;
|
||||||
w |= 0x800000;
|
w |= 0x800000;
|
||||||
|
|
||||||
if (exponent_less_127 < (8 * sizeof (long int)) - 1)
|
if (exponent_less_127 < (int)((8 * sizeof (long int)) - 1))
|
||||||
{
|
{
|
||||||
if (exponent_less_127 < 0)
|
if (exponent_less_127 < 0)
|
||||||
return exponent_less_127 < -1 ? 0 : sign;
|
return exponent_less_127 < -1 ? 0 : sign;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user