From: Jeff Trawick Date: Mon, 8 Oct 2001 21:13:51 +0000 (+0000) Subject: at least *this* cast keeps gcc happy (and should keep X-Git-Tag: 2.0.26~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b13cb7715c095834e8ec7122451184bdcaf1d255;p=apache at least *this* cast keeps gcc happy (and should keep everything else happy as well) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91368 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/request.c b/server/request.c index ed9a8eb692..95473dd31b 100644 --- a/server/request.c +++ b/server/request.c @@ -535,7 +535,8 @@ AP_DECLARE(int) ap_directory_walk(request_rec *r) override = this_dir->override; r->path_info = r->filename; - rv = apr_filepath_root((char**)&r->filename, (char**)&r->path_info, + rv = apr_filepath_root((const char **)&r->filename, + (const char **)&r->path_info, APR_FILEPATH_TRUENAME, r->pool); buflen = strlen(r->filename) + strlen(r->path_info) + 1; buf = apr_palloc(r->pool, buflen);