From dfc4f68112bf1f0927092bdf0b0b9fa998b20e63 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Tue, 9 Sep 2003 18:24:43 +0000 Subject: [PATCH] void * can't be used as a function pointer without casting git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101207 13f79535-47bb-0310-9956-ffa450edef68 --- modules/filters/mod_include.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index cf1535c7a1..ad47e265b0 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -3471,8 +3471,9 @@ static apr_status_t send_parsed_content(ap_filter_t *f, apr_bucket_brigade *bb) else { include_handler_fn_t *handle_func; - handle_func = apr_hash_get(include_handlers, intern->directive, - intern->directive_len); + handle_func = + (include_handler_fn_t *)apr_hash_get(include_handlers, intern->directive, + intern->directive_len); if (handle_func) { DEBUG_INIT(ctx, f, pass_bb); -- 2.50.1