com php-src: Intl's codes are really need more careful :<: ext/intl/timezone/timezone_class.cpp
| From: | Xinchen Hui | Date: | Sat, 28 Jun 2014 13:17:19 +0000 |
| Subject: | com php-src: Intl's codes are really need more careful :<: ext/intl/timezone/timezone_class.cpp | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-79104@lists.php.net to get a copy of this message | ||
Commit: ada2dd97d750a2e63d892908e89dc97ce49f8cda
Author: Xinchen Hui <laruence@php.net> Sat, 28 Jun 2014 21:14:50 +0800
Parents: d01e06e18a96dc6c2844198ee67e77ab7021456b
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ada2dd97d750a2e63d892908e89dc97ce49f8cda
Log:
Intl's codes are really need more careful :<
Changed paths:
M ext/intl/timezone/timezone_class.cpp
Diff:
diff --git a/ext/intl/timezone/timezone_class.cpp b/ext/intl/timezone/timezone_class.cpp
index 703e4d4..585c0ce 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;