[mapserver-commits] r12450 - trunk/mapserver/mapcache/src

svn at osgeo.org svn at osgeo.org
Fri Aug 26 07:27:25 EDT 2011


Author: tbonfort
Date: 2011-08-26 04:27:25 -0700 (Fri, 26 Aug 2011)
New Revision: 12450

Modified:
   trunk/mapserver/mapcache/src/core.c
Log:


Modified: trunk/mapserver/mapcache/src/core.c
===================================================================
--- trunk/mapserver/mapcache/src/core.c	2011-08-26 11:27:22 UTC (rev 12449)
+++ trunk/mapserver/mapcache/src/core.c	2011-08-26 11:27:25 UTC (rev 12450)
@@ -18,7 +18,7 @@
 
 void geocache_configuration_parse(geocache_context *ctx, const char *filename, geocache_cfg *config) {
    int len = strlen(filename);
-   char *ext = &(filename[len-3]);
+   const char *ext = &(filename[len-3]);
    if(strcasecmp(ext,"xml")) {
       geocache_configuration_parse_json(ctx,filename,config);
    } else {



More information about the mapserver-commits mailing list