]> granicus.if.org Git - php/commitdiff
Fix Warning
authorMarcus Boerger <helly@php.net>
Tue, 3 Feb 2004 21:13:04 +0000 (21:13 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 3 Feb 2004 21:13:04 +0000 (21:13 +0000)
Zend/zend_compile.c

index 274aeb0278942434c6f65bce7c27d00c078483c9..4c43f2ba2587915a0f846039f694a6c60868c3bf 100644 (file)
@@ -1958,7 +1958,7 @@ static zend_bool do_inherit_constant_check(HashTable *child_constants_table, zva
 
 ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC)
 {
-       zend_hash_merge_ex(&ce->constants_table, &iface->constants_table, (copy_ctor_func_t) zval_add_ref, sizeof(zval *), do_inherit_constant_check, iface);
+       zend_hash_merge_ex(&ce->constants_table, &iface->constants_table, (copy_ctor_func_t) zval_add_ref, sizeof(zval *), (merge_checker_func_t) do_inherit_constant_check, iface);
        zend_hash_merge_ex(&ce->function_table, &iface->function_table, (copy_ctor_func_t) do_inherit_method, sizeof(zend_function), (merge_checker_func_t) do_inherit_method_check, ce);
 
        do_implement_interface(ce, iface TSRMLS_CC);