summaryrefslogtreecommitdiff
path: root/ext/mcal/php_mcal.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mcal/php_mcal.c')
-rw-r--r--ext/mcal/php_mcal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mcal/php_mcal.c b/ext/mcal/php_mcal.c
index 9ae8422d88..d7a3f083a3 100644
--- a/ext/mcal/php_mcal.c
+++ b/ext/mcal/php_mcal.c
@@ -203,7 +203,7 @@ static int add_assoc_object(zval *arg, char *key, zval *tmp)
HashTable *symtable;
if (arg->type == IS_OBJECT) {
- symtable = arg->value.obj.properties;
+ symtable = Z_OBJPROP_P(arg);
} else {
symtable = arg->value.ht;
}