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/timezone/timezone_class.cpp | |
parent | ee7decb7ff7b8e81b595c01cfb6b5719bb8c520e (diff) | |
download | php-git-82f3d3658315513bdb8136371c6b46ea6297eb22.tar.gz |
cleanup intl types
Diffstat (limited to 'ext/intl/timezone/timezone_class.cpp')
-rw-r--r-- | ext/intl/timezone/timezone_class.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/timezone/timezone_class.cpp b/ext/intl/timezone/timezone_class.cpp index 6818d0d9d8..99b95e14a8 100644 --- a/ext/intl/timezone/timezone_class.cpp +++ b/ext/intl/timezone/timezone_class.cpp @@ -87,7 +87,7 @@ U_CFUNC zval *timezone_convert_to_datetimezone(const TimeZone *timeZone, tzobj->tzi.utc_offset = -1 * timeZone->getRawOffset() / (60 * 1000); } else { char *str; - int str_len; + size_t str_len; /* Call the constructor! */ if (intl_charFromString(id, &str, &str_len, &INTL_ERROR_CODE(*outside_error)) == FAILURE) { spprintf(&message, 0, "%s: could not convert id to UTF-8", func); @@ -292,7 +292,7 @@ static HashTable *TimeZone_get_debug_info(zval *object, int *is_temp) const TimeZone *tz; UnicodeString ustr; char *str; - int str_len; + size_t str_len; HashTable *debug_info; UErrorCode uec = U_ZERO_ERROR; |