mirror of
https://github.com/php/php-src.git
synced 2026-04-04 06:32:49 +02:00
revert
This commit is contained in:
3
NEWS
3
NEWS
@@ -5,9 +5,6 @@ PHP NEWS
|
||||
- CLI server:
|
||||
. Fixed bug #64128 (buit-in web server is broken on ppc64). (Remi)
|
||||
|
||||
- Core:
|
||||
. Fixed bug #64142 (dval to lval different behavior on ppc64). (Remi)
|
||||
|
||||
?? ??? 2012, PHP 5.4.12
|
||||
|
||||
- Core:
|
||||
|
||||
@@ -79,7 +79,7 @@ static zend_always_inline long zend_dval_to_lval(double d)
|
||||
#else
|
||||
static zend_always_inline long zend_dval_to_lval(double d)
|
||||
{
|
||||
if (d >= LONG_MAX) {
|
||||
if (d > LONG_MAX) {
|
||||
return (long)(unsigned long) d;
|
||||
}
|
||||
return (long) d;
|
||||
|
||||
Reference in New Issue
Block a user