From: Bradley Nicholes Date: Mon, 11 Apr 2005 15:47:03 +0000 (+0000) Subject: Fix a const/non-const conversion error when building with the strict Metrowerks compiler X-Git-Tag: 2.0.54~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f810e9b8c514addfb3c45e03b573fadf01e13d38;p=thirdparty%2Fapache%2Fhttpd.git Fix a const/non-const conversion error when building with the strict Metrowerks compiler git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@160909 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/mod_cache.c b/modules/experimental/mod_cache.c index 1f648e48ce5..e92f4d979cc 100644 --- a/modules/experimental/mod_cache.c +++ b/modules/experimental/mod_cache.c @@ -810,7 +810,7 @@ static const char *add_ignore_header(cmd_parms *parms, void *dummy, * (When 'None' is passed, IGNORE_HEADERS_SET && nelts == 0.) */ new = (char **)apr_array_push(conf->ignore_headers); - (*new) = header; + (*new) = (char*)header; } } conf->ignore_headers_set = CACHE_IGNORE_HEADERS_SET;