mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
Fixed typo
This commit is contained in:
parent
19e4dc5058
commit
5218d956f0
@ -306,7 +306,7 @@ ZEND_API void convert_scalar_to_number(zval *op TSRMLS_DC)
|
||||
|
||||
ZEND_API void convert_to_long(zval *op)
|
||||
{
|
||||
if ((op)->type == IS_LONG) {
|
||||
if ((op)->type != IS_LONG) {
|
||||
convert_to_long_base(op, 10);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user