diff options
author | Daniel Earl Poirier <poirier@apache.org> | 2010-02-16 21:24:33 +0100 |
---|---|---|
committer | Daniel Earl Poirier <poirier@apache.org> | 2010-02-16 21:24:33 +0100 |
commit | b132661947891fe3d0a3b96c82a542ebc6950008 (patch) | |
tree | f262cd3f1fdac40f560be90e63621d8a98fa5ae4 /server | |
parent | Add missing headers, remove unused variable. (diff) | |
download | apache2-b132661947891fe3d0a3b96c82a542ebc6950008.tar.xz apache2-b132661947891fe3d0a3b96c82a542ebc6950008.zip |
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
Diffstat (limited to 'server')
-rw-r--r-- | server/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++; |