From: Anatol Belski Date: Wed, 25 Dec 2013 22:43:20 +0000 (+0100) Subject: fix c89 compat X-Git-Tag: php-5.6.0alpha1~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e411ebdf5fa56fa8f8870d22a5bdd21c54caf69;p=php fix c89 compat --- diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index d025294f1f..fd15f80984 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -137,9 +137,8 @@ static void php_phpdbg_destroy_bp_condition(void *data) /* {{{ */ static void php_phpdbg_destroy_registered(void *data) /* {{{ */ { - TSRMLS_FETCH(); - zend_function *function = (zend_function*) data; + TSRMLS_FETCH(); destroy_zend_function( function TSRMLS_CC);