cvs: ZendEngine2 / zend_compile.c
| From: | Marcus Boerger | Date: | Tue, 03 Feb 2004 21:13:04 +0000 |
| Subject: | cvs: ZendEngine2 / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2310@lists.php.net to get a copy of this message | ||
helly Tue Feb 3 16:13:04 2004 EDT
Modified files:
/ZendEngine2 zend_compile.c
Log:
Fix Warning
http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?r1=1.528&r2=1.529&ty=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.528 ZendEngine2/zend_compile.c:1.529
--- ZendEngine2/zend_compile.c:1.528 Tue Feb 3 10:51:09 2004
+++ ZendEngine2/zend_compile.c Tue Feb 3 16:13:04 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.528 2004/02/03 15:51:09 zeev Exp $ */
+/* $Id: zend_compile.c,v 1.529 2004/02/03 21:13:04 helly Exp $ */
#include "zend_language_parser.h"
#include "zend.h"
@@ -1958,7 +1958,7 @@
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);