From: Daniel Earl Poirier Date: Tue, 16 Feb 2010 20:24:33 +0000 (+0000) Subject: Fix compile warning (discarding constness of fname) X-Git-Tag: 2.3.6~469 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b132661947891fe3d0a3b96c82a542ebc6950008;p=apache Fix compile warning (discarding constness of fname) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@910673 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/config.c b/server/config.c index 6a60fb1781..9290fb31d7 100644 --- a/server/config.c +++ b/server/config.c @@ -1670,7 +1670,7 @@ static const char *process_resource_config_fnmatch(server_rec *s, int current; /* find the first part of the filename */ - rest = ap_strchr(fname, '/'); + rest = ap_strchr((char*)fname, '/'); if (rest) { fname = apr_pstrndup(ptemp, fname, rest - fname); rest++;