From: Xinchen Hui Date: Mon, 5 Dec 2011 12:33:56 +0000 (+0000) Subject: Fix typo X-Git-Tag: php-5.5.0alpha1~773 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=592761733519831bc4834f817f4769cfd95da49a;p=php Fix typo --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 6123c65083..8f9dcfb982 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -2884,7 +2884,7 @@ static void do_inherit_parent_constructor(zend_class_entry *ce) /* {{{ */ zend_hash_find(&ce->parent->function_table, lc_parent_class_name, ce->parent->name_length+1, (void **)&function)==SUCCESS) { if (function->common.fn_flags & ZEND_ACC_CTOR) { /* inherit parent's constructor */ - zend_hash_update(&ce->function_table, lc_parent_class_name, ce->parent->name_length+1, function, sizeof(zend_function), (void**)new_function); + zend_hash_update(&ce->function_table, lc_parent_class_name, ce->parent->name_length+1, function, sizeof(zend_function), (void**)&new_function); function_add_ref(new_function); } }