]> granicus.if.org Git - apache/commitdiff
Fix compile warning (discarding constness of fname)
authorDaniel Earl Poirier <poirier@apache.org>
Tue, 16 Feb 2010 20:24:33 +0000 (20:24 +0000)
committerDaniel Earl Poirier <poirier@apache.org>
Tue, 16 Feb 2010 20:24:33 +0000 (20:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@910673 13f79535-47bb-0310-9956-ffa450edef68

server/config.c

index 6a60fb1781a4b9147d9706fd4cfc8fb9b011e233..9290fb31d7932e642f3f04a501b1978ee5062ef7 100644 (file)
@@ -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++;