Skip to content

Commit 9b3df86

Browse files
committed
MFZE1
1 parent 8fd65b9 commit 9b3df86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/zend_hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ ZEND_API int zend_hash_move_backwards_ex(HashTable *ht, HashPosition *pos)
10231023

10241024

10251025
/* This function should be made binary safe */
1026-
ZEND_API int zend_hash_get_current_key_ex(HashTable *ht, char **str_index, ulong *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos)
1026+
ZEND_API int zend_hash_get_current_key_ex(HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos)
10271027
{
10281028
Bucket *p;
10291029

Zend/zend_hash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ ZEND_API ulong zend_hash_next_free_element(HashTable *ht);
154154
/* traversing */
155155
ZEND_API int zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos);
156156
ZEND_API int zend_hash_move_backwards_ex(HashTable *ht, HashPosition *pos);
157-
ZEND_API int zend_hash_get_current_key_ex(HashTable *ht, char **str_index, ulong *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
157+
ZEND_API int zend_hash_get_current_key_ex(HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
158158
ZEND_API int zend_hash_get_current_key_type_ex(HashTable *ht, HashPosition *pos);
159159
ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos);
160160
ZEND_API void zend_hash_internal_pointer_reset_ex(HashTable *ht, HashPosition *pos);

0 commit comments

Comments
 (0)