summaryrefslogtreecommitdiff
path: root/ext/intl/timezone/timezone_methods.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2015-10-06 22:32:28 +0200
committerNikita Popov <nikic@php.net>2015-10-06 22:58:02 +0200
commit0a3c1fb4c2e8d02031c74da49d5a702cafbd3f0b (patch)
treeb9ea9457c4aec15c27511bc057a0f10de63536fd /ext/intl/timezone/timezone_methods.cpp
parente193d35c1ed1307b06cc25c2b720d0141703798c (diff)
downloadphp-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.cpp4
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");