1
0
mirror of https://github.com/php/php-src.git synced 2026-04-04 06:32:49 +02:00
This commit is contained in:
Remi Collet
2013-02-05 12:28:47 +01:00
parent 6533094d9e
commit e7ce002c01
2 changed files with 1 additions and 4 deletions

3
NEWS
View File

@@ -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:

View File

@@ -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;