diff options
author | Nikita Popov <nikic@php.net> | 2015-10-06 22:32:28 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2015-10-06 22:58:02 +0200 |
commit | 0a3c1fb4c2e8d02031c74da49d5a702cafbd3f0b (patch) | |
tree | b9ea9457c4aec15c27511bc057a0f10de63536fd /ext/intl/timezone/timezone_methods.cpp | |
parent | e193d35c1ed1307b06cc25c2b720d0141703798c (diff) | |
download | php-git-0a3c1fb4c2e8d02031c74da49d5a702cafbd3f0b.tar.gz |
More zpp cleanup in ext/intl
Diffstat (limited to 'ext/intl/timezone/timezone_methods.cpp')
-rw-r--r-- | ext/intl/timezone/timezone_methods.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/timezone/timezone_methods.cpp b/ext/intl/timezone/timezone_methods.cpp index c46b448bbe..a35174d3da 100644 --- a/ext/intl/timezone/timezone_methods.cpp +++ b/ext/intl/timezone/timezone_methods.cpp @@ -440,7 +440,7 @@ U_CFUNC PHP_FUNCTION(intltz_use_daylight_time) U_CFUNC PHP_FUNCTION(intltz_get_offset) { - UDate date; + double date; zend_bool local; zval *rawOffsetArg, *dstOffsetArg; @@ -458,7 +458,7 @@ U_CFUNC PHP_FUNCTION(intltz_get_offset) TIMEZONE_METHOD_FETCH_OBJECT; - to->utimezone->getOffset(date, (UBool) local, rawOffset, dstOffset, + to->utimezone->getOffset((UDate) date, (UBool) local, rawOffset, dstOffset, TIMEZONE_ERROR_CODE(to)); INTL_METHOD_CHECK_STATUS(to, "intltz_get_offset: error obtaining offset"); |