Fixed typo

This commit is contained in:
Ilia Alshanetsky 2006-12-11 15:59:41 +00:00
parent 19e4dc5058
commit 5218d956f0

View File

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