summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/cgi/cgi_main.c')
-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 d3bb8ed1d1..9fdb3db7cf 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -598,7 +598,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
file_handle.handle.fp = stdin;
/* This actually destructs the elements of the list - ugly hack */
- zend_llist_apply(&global_vars, php_register_command_line_global_vars);
+ zend_llist_apply(&global_vars, (llist_apply_func_t) php_register_command_line_global_vars);
zend_llist_destroy(&global_vars);
if (!cgi) {