diff options
author | Stanislav Malyshev <stas@php.net> | 2014-12-29 02:17:15 -0800 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2014-12-29 14:06:12 -0800 |
commit | 82f3d3658315513bdb8136371c6b46ea6297eb22 (patch) | |
tree | 6bdee5087d8b5a0c75db0ece8e20189cacfc090a /ext/intl/formatter/formatter_parse.c | |
parent | ee7decb7ff7b8e81b595c01cfb6b5719bb8c520e (diff) | |
download | php-git-82f3d3658315513bdb8136371c6b46ea6297eb22.tar.gz |
cleanup intl types
Diffstat (limited to 'ext/intl/formatter/formatter_parse.c')
-rw-r--r-- | ext/intl/formatter/formatter_parse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/intl/formatter/formatter_parse.c b/ext/intl/formatter/formatter_parse.c index b2af74a2e0..43f6780e57 100644 --- a/ext/intl/formatter/formatter_parse.c +++ b/ext/intl/formatter/formatter_parse.c @@ -38,7 +38,7 @@ PHP_FUNCTION( numfmt_parse ) { zend_long type = FORMAT_TYPE_DOUBLE; UChar* sstr = NULL; - int sstr_len = 0; + int32_t sstr_len = 0; char* str = NULL; size_t str_len; int32_t val32, position = 0; @@ -128,9 +128,9 @@ PHP_FUNCTION( numfmt_parse_currency ) double number; UChar currency[5] = {0}; UChar* sstr = NULL; - int sstr_len = 0; + int32_t sstr_len = 0; char *currency_str = NULL; - int currency_len = 0; + size_t currency_len = 0; char *str; size_t str_len; int32_t* position_p = NULL; |