summaryrefslogtreecommitdiff
path: root/ext/opcache/zend_file_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/zend_file_cache.c')
-rw-r--r--ext/opcache/zend_file_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/opcache/zend_file_cache.c b/ext/opcache/zend_file_cache.c
index 047abcb91c..c11bff3868 100644
--- a/ext/opcache/zend_file_cache.c
+++ b/ext/opcache/zend_file_cache.c
@@ -255,7 +255,7 @@ static void zend_file_cache_serialize_hash(HashTable *ht,
{
Bucket *p, *end;
- if (!(ht->u.flags & HASH_FLAG_INITIALIZED)) {
+ if (!(HT_FLAGS(ht) & HASH_FLAG_INITIALIZED)) {
ht->arData = NULL;
return;
}
@@ -880,7 +880,7 @@ static void zend_file_cache_unserialize_hash(HashTable *ht,
Bucket *p, *end;
ht->pDestructor = dtor;
- if (!(ht->u.flags & HASH_FLAG_INITIALIZED)) {
+ if (!(HT_FLAGS(ht) & HASH_FLAG_INITIALIZED)) {
HT_SET_DATA_ADDR(ht, &uninitialized_bucket);
return;
}