Skip to content

Commit

Permalink
[skip ci] Use bool for zend_array_sort()
Browse files Browse the repository at this point in the history
zend_bool is removed in higher branches.
  • Loading branch information
iluuu1994 committed Nov 4, 2024
1 parent 2bdce61 commit 4b9e59b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/zend_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ static zend_always_inline void ZEND_FASTCALL zend_hash_sort(HashTable *ht, bucke
/* Use this variant over zend_hash_sort() when sorting user arrays that may
* trigger user code. It will ensure the user code cannot free the array during
* sorting. */
static zend_always_inline void zend_array_sort(HashTable *ht, bucket_compare_func_t compare_func, zend_bool renumber) {
static zend_always_inline void zend_array_sort(HashTable *ht, bucket_compare_func_t compare_func, bool renumber) {
zend_array_sort_ex(ht, zend_sort, compare_func, renumber);
}

Expand Down

0 comments on commit 4b9e59b

Please sign in to comment.