[GRASS-SVN] r53131 - grass/trunk/raster/r.mapcalc
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Sep 7 23:59:21 PDT 2012
Author: glynn
Date: 2012-09-07 23:59:21 -0700 (Fri, 07 Sep 2012)
New Revision: 53131
Modified:
grass/trunk/raster/r.mapcalc/map3.c
Log:
Fix warnings
Modified: grass/trunk/raster/r.mapcalc/map3.c
===================================================================
--- grass/trunk/raster/r.mapcalc/map3.c 2012-09-08 00:06:08 UTC (rev 53130)
+++ grass/trunk/raster/r.mapcalc/map3.c 2012-09-08 06:59:21 UTC (rev 53131)
@@ -386,7 +386,8 @@
int map_type(const char *name, int mod)
{
- char *mapset, *tmpname;
+ const char *mapset;
+ char *tmpname;
int result;
switch (mod) {
@@ -425,7 +426,8 @@
int open_map(const char *name, int mod, int row, int col)
{
int i;
- char *mapset, *tmpname;
+ const char *mapset;
+ char *tmpname;
int use_cats = 0;
int use_colors = 0;
map *m;
More information about the grass-commit
mailing list