The hashvalue/index of a bucket is a zend_ulong

This commit is contained in:
George Peter Banyard 2021-05-13 17:33:41 +01:00
parent 5c693c770a
commit bdf5a4e478
No known key found for this signature in database
GPG Key ID: 3306078E3194AEBD

View File

@ -1556,8 +1556,8 @@ static zend_always_inline void *zend_hash_get_current_data_ptr_ex(HashTable *ht,
/* Check if an array is a list */
static zend_always_inline bool zend_array_is_list(zend_array *array)
{
zend_long expected_idx = 0;
zend_long num_idx;
zend_ulong expected_idx = 0;
zend_ulong num_idx;
zend_string* str_idx;
/* Empty arrays are lists */
if (zend_hash_num_elements(array) == 0) {