summaryrefslogtreecommitdiff
path: root/ext/intl/timezone/timezone_class.cpp
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-06-28 21:14:50 +0800
committerXinchen Hui <laruence@php.net>2014-06-28 21:17:19 +0800
commitada2dd97d750a2e63d892908e89dc97ce49f8cda (patch)
treec5980837ab887a5b5465ccae74b4d7d05e4538b6 /ext/intl/timezone/timezone_class.cpp
parentd01e06e18a96dc6c2844198ee67e77ab7021456b (diff)
downloadphp-git-ada2dd97d750a2e63d892908e89dc97ce49f8cda.tar.gz
Intl's codes are really need more careful :<
Diffstat (limited to 'ext/intl/timezone/timezone_class.cpp')
-rw-r--r--ext/intl/timezone/timezone_class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/timezone/timezone_class.cpp b/ext/intl/timezone/timezone_class.cpp
index 703e4d4814..585c0ce48a 100644
--- a/ext/intl/timezone/timezone_class.cpp
+++ b/ext/intl/timezone/timezone_class.cpp
@@ -375,7 +375,7 @@ static zend_object *TimeZone_object_create(zend_class_entry *ce TSRMLS_DC)
intern = (TimeZone_object*)ecalloc(1, sizeof(TimeZone_object) + sizeof(zval) * (ce->default_properties_count - 1));
zend_object_std_init(&intern->zo, ce TSRMLS_CC);
- object_properties_init((zend_object*) intern, ce);
+ object_properties_init(&intern->zo, ce);
TimeZone_object_init(intern TSRMLS_CC);
intern->zo.handlers = &TimeZone_handlers;