diff options
| author | Nikita Popov <nikic@php.net> | 2014-08-25 22:47:04 +0200 |
|---|---|---|
| committer | Nikita Popov <nikic@php.net> | 2014-08-25 22:47:04 +0200 |
| commit | 28e7beea66760ca0c175ccd908a77429d122da00 (patch) | |
| tree | fa02a3096616931f4f94704f6ed3bd9ba3ee036d /Zend/zend_operators.c | |
| parent | 46b53e815c39bad6226cdc0ca6caa76cabeb09ef (diff) | |
| download | php-git-28e7beea66760ca0c175ccd908a77429d122da00.tar.gz | |
Fix zend_longo_str
Diffstat (limited to 'Zend/zend_operators.c')
| -rw-r--r-- | Zend/zend_operators.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 6330397303..13fea34caf 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -604,7 +604,7 @@ ZEND_API void _convert_to_string(zval *op ZEND_FILE_LINE_DC) /* {{{ */ break; } case IS_LONG: { - ZVAL_NEW_STR(op, zend_longo_str(Z_LVAL_P(op))); + ZVAL_NEW_STR(op, zend_long_to_str(Z_LVAL_P(op))); break; } case IS_DOUBLE: { @@ -883,7 +883,7 @@ try_again: return zend_string_init(buf, len, 0); } case IS_LONG: { - return zend_longo_str(Z_LVAL_P(op)); + return zend_long_to_str(Z_LVAL_P(op)); } case IS_DOUBLE: { return zend_strpprintf(0, "%.*G", (int) EG(precision), Z_DVAL_P(op)); @@ -2558,7 +2558,7 @@ ZEND_API void zend_locale_sprintf_double(zval *op ZEND_FILE_LINE_DC) /* {{{ */ } /* }}} */ -ZEND_API zend_string *zend_longo_str(zend_long num) /* {{{ */ +ZEND_API zend_string *zend_long_to_str(zend_long num) /* {{{ */ { char buf[MAX_LENGTH_OF_LONG + 1]; char *res; |
