summaryrefslogtreecommitdiff
path: root/ext/intl/calendar/calendar_class.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/calendar/calendar_class.cpp')
-rw-r--r--ext/intl/calendar/calendar_class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/calendar/calendar_class.cpp b/ext/intl/calendar/calendar_class.cpp
index 72cd7e1dd0..4414a7a092 100644
--- a/ext/intl/calendar/calendar_class.cpp
+++ b/ext/intl/calendar/calendar_class.cpp
@@ -261,7 +261,7 @@ static zend_object *Calendar_object_create(zend_class_entry *ce)
intern = (Calendar_object*)ecalloc(1, sizeof(Calendar_object) + sizeof(zval) * (ce->default_properties_count - 1));
zend_object_std_init(&intern->zo, ce);
- object_properties_init((zend_object*) intern, ce);
+ object_properties_init(&intern->zo, ce);
calendar_object_init(intern);