diff options
author | Andrea Faulds <ajf@ajf.me> | 2014-11-29 01:52:23 +0000 |
---|---|---|
committer | Andrea Faulds <ajf@ajf.me> | 2014-11-29 01:52:23 +0000 |
commit | d19ce51854a94d9da3f5ff24ea965928ed520688 (patch) | |
tree | ec4133337e0f3bb0045c5e6fc4046af9cc60130e | |
parent | 01554bf3e417f13baf7af874e449c265c0309279 (diff) | |
download | php-git-d19ce51854a94d9da3f5ff24ea965928ed520688.tar.gz |
Fixed copy-and-paste error
-rw-r--r-- | Zend/zend_API.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 6a8faf8c89..701c1811ec 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -1083,7 +1083,7 @@ static zend_always_inline int _z_param_long(zval *arg, zend_long *dest, zend_boo if (UNEXPECTED((type = is_numeric_str_function(Z_STR_P(arg), dest, &d)) != IS_LONG)) { if (EXPECTED(type != 0)) { - if (UNEXPECTED(zend_isnan(Z_DVAL_P(arg)))) { + if (UNEXPECTED(zend_isnan(d))) { return 0; } if (UNEXPECTED(d > ZEND_LONG_MAX || d < ZEND_LONG_MIN)) { |