Skip to content

Commit bdf5a4e

Browse files
committedJul 26, 2022
The hashvalue/index of a bucket is a zend_ulong
1 parent 5c693c7 commit bdf5a4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎Zend/zend_hash.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1556,8 +1556,8 @@ static zend_always_inline void *zend_hash_get_current_data_ptr_ex(HashTable *ht,
15561556
/* Check if an array is a list */
15571557
static zend_always_inline bool zend_array_is_list(zend_array *array)
15581558
{
1559-
zend_long expected_idx = 0;
1560-
zend_long num_idx;
1559+
zend_ulong expected_idx = 0;
1560+
zend_ulong num_idx;
15611561
zend_string* str_idx;
15621562
/* Empty arrays are lists */
15631563
if (zend_hash_num_elements(array) == 0) {

0 commit comments

Comments
 (0)