]> granicus.if.org Git - php/commitdiff
Cleanup
authorXinchen Hui <laruence@gmail.com>
Tue, 8 May 2018 09:32:35 +0000 (17:32 +0800)
committerXinchen Hui <laruence@gmail.com>
Tue, 8 May 2018 09:32:35 +0000 (17:32 +0800)
Zend/zend_hash.c

index ca1e7d69640fe66627956eddaa5f4d0ef7b85216..817254774ccc6db73656e4e1b7ace9d143fd077f 100644 (file)
@@ -130,7 +130,7 @@ static zend_always_inline void zend_hash_real_init_mixed_ex(HashTable *ht)
 {
        uint32_t nSize = ht->nTableSize;
 
-       (ht)->nTableMask = HT_SIZE_TO_MASK(nSize);
+       ht->nTableMask = HT_SIZE_TO_MASK(nSize);
        HT_SET_DATA_ADDR(ht, pemalloc(HT_SIZE_EX(nSize, HT_SIZE_TO_MASK(nSize)), GC_FLAGS(ht) & IS_ARRAY_PERSISTENT));
        HT_FLAGS(ht) |= HASH_FLAG_INITIALIZED;
        if (EXPECTED(ht->nTableMask == HT_SIZE_TO_MASK(HT_MIN_SIZE))) {