summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-05-25 18:32:35 +0800
committerXinchen Hui <laruence@php.net>2014-05-25 18:32:35 +0800
commitc2082ece52bcb5343ae0feb460807596cd79d691 (patch)
tree3f85e08b0389513932a60f8164dfe27a30884876 /sapi/cli/php_cli.c
parent5d7f82745f46025af4fd89f7e3f3883e92d55509 (diff)
downloadphp-git-c2082ece52bcb5343ae0feb460807596cd79d691.tar.gz
Fixed apply_func_t (they should be broken before)
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 2156cb14fc..d353b00a06 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -198,7 +198,7 @@ static void print_modules(TSRMLS_D) /* {{{ */
zend_hash_init(&sorted_registry, 50, NULL, NULL, 0);
zend_hash_copy(&sorted_registry, &module_registry, NULL);
zend_hash_sort(&sorted_registry, zend_qsort, module_name_cmp, 0 TSRMLS_CC);
- zend_hash_apply(&sorted_registry, (apply_func_t) print_module_info TSRMLS_CC);
+ zend_hash_apply(&sorted_registry, print_module_info TSRMLS_CC);
zend_hash_destroy(&sorted_registry);
}
/* }}} */