Skip to content

Commit d837199

Browse files
committed
Merge branch 'PHP-8.5'
* PHP-8.5: Fix -Werror compile error in `zend_dval_to_lval_cap()` (#22196)
2 parents 56d1ffc + 4c8dabf commit d837199

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Zend/zend_operators.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ static zend_always_inline zend_long zend_dval_to_lval_silent(double d)
147147
/* Used to convert a string float to integer during an (int) cast */
148148
static zend_always_inline zend_long zend_dval_to_lval_cap(double d)
149149
{
150+
ZEND_IGNORE_VALUE(s);
150151
if (UNEXPECTED(!zend_finite(d))) {
151152
return 0;
152153
} else if (!ZEND_DOUBLE_FITS_LONG(d)) {

0 commit comments

Comments
 (0)