summaryrefslogtreecommitdiffstats
path: root/server/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/config.c')
-rw-r--r--server/config.c2
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++;