[GRASS-SVN] r59959 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 29 01:09:10 PDT 2014


Author: mmetz
Date: 2014-04-29 01:09:09 -0700 (Tue, 29 Apr 2014)
New Revision: 59959

Modified:
   grass/trunk/lib/vector/Vlib/init_head.c
Log:
Vlib: fix G_zero() usage

Modified: grass/trunk/lib/vector/Vlib/init_head.c
===================================================================
--- grass/trunk/lib/vector/Vlib/init_head.c	2014-04-29 08:08:14 UTC (rev 59958)
+++ grass/trunk/lib/vector/Vlib/init_head.c	2014-04-29 08:09:09 UTC (rev 59959)
@@ -30,7 +30,7 @@
 {
     char buf[64];
 
-    G_zero(&(Map->head), sizeof(struct dig_head *));
+    G_zero(&(Map->head), sizeof(struct dig_head));
 
     /* organization */
     Vect_set_organization(Map, "");



More information about the grass-commit mailing list