diff options
Diffstat (limited to 'ext/intl/formatter/formatter_format.c')
-rw-r--r-- | ext/intl/formatter/formatter_format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/formatter/formatter_format.c b/ext/intl/formatter/formatter_format.c index abae435ca2..c8d221c7ee 100644 --- a/ext/intl/formatter/formatter_format.c +++ b/ext/intl/formatter/formatter_format.c @@ -74,7 +74,7 @@ PHP_FUNCTION( numfmt_format ) switch(type) { case FORMAT_TYPE_INT32: - convert_to_int_ex(number); + convert_to_long_ex(number); formatted_len = unum_format(FORMATTER_OBJECT(nfo), (int32_t)Z_LVAL_P(number), formatted, formatted_len, NULL, &INTL_DATA_ERROR_CODE(nfo)); if (INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR) { |