From 4c1af68f24df271f19a020ee9ac228dd8c117051 Mon Sep 17 00:00:00 2001 From: Xuefer Date: Sat, 2 Dec 2006 02:40:00 +0000 Subject: [PATCH] trunk: kill warning on solaris compiler git-svn-id: svn://svn.lighttpd.net/xcache/trunk@294 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.c b/utils.c index 79fbf30..e195e07 100644 --- a/utils.c +++ b/utils.c @@ -121,8 +121,8 @@ static int xc_apply_cest(xc_cest_t *cest, apply_func_t applyer TSRMLS_DC) /* {{{ /* }}} */ int xc_apply_op_array(xc_compile_result_t *cr, apply_func_t applyer TSRMLS_DC) /* {{{ */ { - zend_hash_apply_with_argument(cr->function_table, (apply_func_arg_t) xc_apply_function, applyer TSRMLS_CC); - zend_hash_apply_with_argument(cr->class_table, (apply_func_arg_t) xc_apply_cest, applyer TSRMLS_CC); + zend_hash_apply_with_argument(cr->function_table, (apply_func_arg_t) xc_apply_function, (void *) applyer TSRMLS_CC); + zend_hash_apply_with_argument(cr->class_table, (apply_func_arg_t) xc_apply_cest, (void *) applyer TSRMLS_CC); return applyer(cr->op_array TSRMLS_CC); }