httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject svn commit: r160909 - httpd/httpd/branches/2.0.x/modules/experimental/mod_cache.c
Date Mon, 11 Apr 2005 15:47:03 GMT
Author: bnicholes
Date: Mon Apr 11 08:47:03 2005
New Revision: 160909

URL: http://svn.apache.org/viewcvs?view=rev&rev=160909
Log:
Fix a const/non-const conversion error when building with the strict Metrowerks compiler

Modified:
    httpd/httpd/branches/2.0.x/modules/experimental/mod_cache.c

Modified: httpd/httpd/branches/2.0.x/modules/experimental/mod_cache.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/modules/experimental/mod_cache.c?view=diff&r1=160908&r2=160909
==============================================================================
--- httpd/httpd/branches/2.0.x/modules/experimental/mod_cache.c (original)
+++ httpd/httpd/branches/2.0.x/modules/experimental/mod_cache.c Mon Apr 11 08:47:03 2005
@@ -810,7 +810,7 @@
              * (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;



Mime
View raw message