]> granicus.if.org Git - apache/commitdiff
void * can't be used as a function pointer without casting
authorJeff Trawick <trawick@apache.org>
Tue, 9 Sep 2003 18:24:43 +0000 (18:24 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 9 Sep 2003 18:24:43 +0000 (18:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101207 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_include.c

index cf1535c7a10c4fc00b94c04765af157067eecbbf..ad47e265b04975456dac10b0989061d7a0e3a95d 100644 (file)
@@ -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);