From f810e9b8c514addfb3c45e03b573fadf01e13d38 Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Mon, 11 Apr 2005 15:47:03 +0000 Subject: [PATCH] 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 --- modules/experimental/mod_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2