httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From poir...@apache.org
Subject svn commit: r910673 - /httpd/httpd/trunk/server/config.c
Date Tue, 16 Feb 2010 20:24:34 GMT
Author: poirier
Date: Tue Feb 16 20:24:33 2010
New Revision: 910673

URL: http://svn.apache.org/viewvc?rev=910673&view=rev
Log:
Fix compile warning (discarding constness of fname)

Modified:
    httpd/httpd/trunk/server/config.c

Modified: httpd/httpd/trunk/server/config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/config.c?rev=910673&r1=910672&r2=910673&view=diff
==============================================================================
--- httpd/httpd/trunk/server/config.c (original)
+++ httpd/httpd/trunk/server/config.c Tue Feb 16 20:24:33 2010
@@ -1670,7 +1670,7 @@
     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++;



Mime
View raw message