From ada2dd97d750a2e63d892908e89dc97ce49f8cda Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sat, 28 Jun 2014 21:14:50 +0800 Subject: [PATCH] Intl's codes are really need more careful :< --- ext/intl/timezone/timezone_class.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1