[GRASS-SVN] r31355 - grass/branches/develbranch_6/lib/ogsf

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 15 12:32:49 EDT 2008


Author: martinl
Date: 2008-05-15 12:32:49 -0400 (Thu, 15 May 2008)
New Revision: 31355

Modified:
   grass/branches/develbranch_6/lib/ogsf/gvl_file.c
Log:
ogsf: fix compilation error (casting void* to G3D_Map*)


Modified: grass/branches/develbranch_6/lib/ogsf/gvl_file.c
===================================================================
--- grass/branches/develbranch_6/lib/ogsf/gvl_file.c	2008-05-15 16:23:21 UTC (rev 31354)
+++ grass/branches/develbranch_6/lib/ogsf/gvl_file.c	2008-05-15 16:32:49 UTC (rev 31355)
@@ -459,8 +459,8 @@
 int close_g3d_file(void *map)
 {
     /* close opened g3d file */
-    if (G3d_closeCell(map) != 1) {
-	G_warning (_("Unable to close 3D raster map <%s>"), map->name);
+    if (G3d_closeCell((G3D_Map *)map) != 1) {
+	G_warning (_("Unable to close 3D raster map <%s>"), ((G3D_Map *)map)->fileName);
 	return (-1);
     }
     



More information about the grass-commit mailing list