]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix a const/non-const conversion error when building with the strict Metrowerks compiler
authorBradley Nicholes <bnicholes@apache.org>
Mon, 11 Apr 2005 15:47:03 +0000 (15:47 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Mon, 11 Apr 2005 15:47:03 +0000 (15:47 +0000)
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

index 1f648e48ce5f9b814d6cb91fe51e65724943935d..e92f4d979cc1d26489ad289751e47dc4843367c6 100644 (file)
@@ -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;