[GRASS-SVN] r65821 - grass-addons/grass7/raster/r.mcda.electre

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 3 14:04:27 PDT 2015


Author: gianluca
Date: 2015-08-03 14:04:27 -0700 (Mon, 03 Aug 2015)
New Revision: 65821

Modified:
   grass-addons/grass7/raster/r.mcda.electre/main.c
Log:
-

Modified: grass-addons/grass7/raster/r.mcda.electre/main.c
===================================================================
--- grass-addons/grass7/raster/r.mcda.electre/main.c	2015-08-03 17:44:00 UTC (rev 65820)
+++ grass-addons/grass7/raster/r.mcda.electre/main.c	2015-08-03 21:04:27 UTC (rev 65821)
@@ -117,7 +117,7 @@
     {
         struct input *p = &attributes[i];
         p->name = criteria->answers[i];
-        p->mapset = G_find_raster2(p->name,""); /* G_find_cell: Looks for the raster map "name" in the database. */
+        p->mapset = (char *) G_find_raster2(p->name,""); /* G_find_cell: Looks for the raster map "name" in the database. */
         if (p->mapset==NULL) /* returns NULL if the map was not found in any mapset,   mapset name otherwise */
             G_fatal_error(_("Raster file <%s> not found"), p->name);
 



More information about the grass-commit mailing list