Permalink
Browse files

Fix prototype (may have caused stack corruption)

  • Loading branch information...
1 parent 984cde3 commit 45c12359a92db3dadebacc1b04d55dcc65e09d90 @zsuraski zsuraski committed Feb 6, 2003
Showing with 2 additions and 2 deletions.
  1. +1 −1 Zend/zend_hash.c
  2. +1 −1 Zend/zend_hash.h
View
@@ -816,7 +816,7 @@ ZEND_API void zend_hash_merge(HashTable *target, HashTable *source, copy_ctor_fu
}
-static int zend_hash_replace_checker_wrapper(HashTable *target, void *source_data, Bucket *p, void *pParam, merge_checker_func_t merge_checker_func)
+static zend_bool zend_hash_replace_checker_wrapper(HashTable *target, void *source_data, Bucket *p, void *pParam, merge_checker_func_t merge_checker_func)
{
zend_hash_key hash_key;
View
@@ -83,7 +83,7 @@ typedef struct _zend_hash_key {
} zend_hash_key;
-typedef int (*merge_checker_func_t)(HashTable *target_ht, void *source_data, zend_hash_key *hash_key, void *pParam);
+typedef zend_bool (*merge_checker_func_t)(HashTable *target_ht, void *source_data, zend_hash_key *hash_key, void *pParam);
typedef Bucket* HashPosition;

0 comments on commit 45c1235

Please sign in to comment.