summaryrefslogtreecommitdiff
path: root/sapi/cgi
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/cgi
parent5d7f82745f46025af4fd89f7e3f3883e92d55509 (diff)
downloadphp-git-c2082ece52bcb5343ae0feb460807596cd79d691.tar.gz
Fixed apply_func_t (they should be broken before)
Diffstat (limited to 'sapi/cgi')
-rw-r--r--sapi/cgi/cgi_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index cb76caaa93..16f11fd40c 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -241,7 +241,7 @@ static void print_modules(TSRMLS_D)
//??? zend_hash_copy(&sorted_registry, &module_registry, NULL, &tmp, sizeof(zend_module_entry));
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);
}