From b132661947891fe3d0a3b96c82a542ebc6950008 Mon Sep 17 00:00:00 2001 From: Daniel Earl Poirier Date: Tue, 16 Feb 2010 20:24:33 +0000 Subject: [PATCH] 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 --- server/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- 2.40.0