Skip to content

Commit 7304b56

Browse files
committed
Merge branch 'PHP-8.2'
* PHP-8.2: Fix compilation error on old GCC versions
2 parents 63a84a2 + 6692477 commit 7304b56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ ZEND_API const HashTable zend_empty_array = {
250250
.gc.u.type_info = IS_ARRAY | (GC_IMMUTABLE << GC_FLAGS_SHIFT),
251251
.u.flags = HASH_FLAG_UNINITIALIZED,
252252
.nTableMask = HT_MIN_MASK,
253-
.arData = (Bucket*)&uninitialized_bucket[2],
253+
{.arData = (Bucket*)&uninitialized_bucket[2]},
254254
.nNumUsed = 0,
255255
.nNumOfElements = 0,
256256
.nTableSize = HT_MIN_SIZE,

0 commit comments

Comments
 (0)