Skip to content

Commit a9328b1

Browse files
committed
nit
1 parent 9739949 commit a9328b1

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
@@ -1191,7 +1191,7 @@ static void ZEND_FASTCALL zend_hash_do_resize(HashTable *ht)
11911191

11921192
ht->nTableSize = nSize;
11931193
new_data = pemalloc(HT_SIZE_EX(nSize, HT_SIZE_TO_MASK(nSize)), GC_FLAGS(ht) & IS_ARRAY_PERSISTENT);
1194-
ht->nTableMask = HT_SIZE_TO_MASK(ht->nTableSize);
1194+
ht->nTableMask = HT_SIZE_TO_MASK(nSize);
11951195
HT_SET_DATA_ADDR(ht, new_data);
11961196
memcpy(ht->arData, old_buckets, sizeof(Bucket) * ht->nNumUsed);
11971197
pefree(old_data, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT);

0 commit comments

Comments
 (0)