summaryrefslogtreecommitdiff
path: root/Zend/zend_objects.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-01-22 14:58:16 +0300
committerDmitry Stogov <dmitry@zend.com>2018-01-22 14:58:16 +0300
commit6634d5e31360681af4048f80f52f0ebe5668b491 (patch)
treeb0c8c79cec5c2a0f92a060c9d2f39531fa2fe81f /Zend/zend_objects.c
parentebf900a9ebde4db89802009444e23bf2920f073c (diff)
downloadphp-git-6634d5e31360681af4048f80f52f0ebe5668b491.tar.gz
Use HT_FLAGS() macro
Diffstat (limited to 'Zend/zend_objects.c')
-rw-r--r--Zend/zend_objects.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_objects.c b/Zend/zend_objects.c
index d309658538..53e11b1e77 100644
--- a/Zend/zend_objects.c
+++ b/Zend/zend_objects.c
@@ -203,8 +203,8 @@ ZEND_API void ZEND_FASTCALL zend_objects_clone_members(zend_object *new_object,
zend_hash_extend(new_object->properties, new_object->properties->nNumUsed + zend_hash_num_elements(old_object->properties), 0);
}
- new_object->properties->u.v.flags |=
- old_object->properties->u.v.flags & HASH_FLAG_HAS_EMPTY_IND;
+ HT_FLAGS(new_object->properties) |=
+ HT_FLAGS(old_object->properties) & HASH_FLAG_HAS_EMPTY_IND;
ZEND_HASH_FOREACH_KEY_VAL(old_object->properties, num_key, key, prop) {
if (Z_TYPE_P(prop) == IS_INDIRECT) {