diff options
author | Remi Collet <remi@remirepo.net> | 2018-09-11 11:53:51 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-09-11 11:53:51 +0200 |
commit | a1dbb57fb367a407ace5513fb71a1382dbbca319 (patch) | |
tree | 07b51ab8b8c65270a296d99ac2e2bb93a1e57fe5 /c1729272b17a1fe893d1a54e423d3b71470f3ee8.patch | |
parent | a5f424e1ad9b11333036e7463b84eb7ff102167d (diff) |
Update to 7.2.10 - http://www.php.net/releases/7_2_10.php
Diffstat (limited to 'c1729272b17a1fe893d1a54e423d3b71470f3ee8.patch')
-rw-r--r-- | c1729272b17a1fe893d1a54e423d3b71470f3ee8.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/c1729272b17a1fe893d1a54e423d3b71470f3ee8.patch b/c1729272b17a1fe893d1a54e423d3b71470f3ee8.patch new file mode 100644 index 0000000..d945192 --- /dev/null +++ b/c1729272b17a1fe893d1a54e423d3b71470f3ee8.patch @@ -0,0 +1,22 @@ +From c1729272b17a1fe893d1a54e423d3b71470f3ee8 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Wed, 29 Aug 2018 09:10:59 +0200 +Subject: [PATCH] fix double cast to int on 32-bit + +--- + Zend/zend_operators.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c +index cafb14d4cc25..9a8a40142433 100644 +--- a/Zend/zend_operators.c ++++ b/Zend/zend_operators.c +@@ -3101,7 +3101,7 @@ ZEND_API zend_long ZEND_FASTCALL zend_dval_to_lval_slow(double d) + if (dmod < 0) { + /* we're going to make this number positive; call ceil() + * to simulate rounding towards 0 of the negative number */ +- dmod = ceil(dmod);// + two_pow_32; ++ dmod = ceil(dmod) + two_pow_32; + } + return (zend_long)(zend_ulong)dmod; + } |