[GRASS-SVN] r59960 - grass/branches/releasebranch_7_0/lib/vector/Vlib

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


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

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

Modified: grass/branches/releasebranch_7_0/lib/vector/Vlib/init_head.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/vector/Vlib/init_head.c	2014-04-29 08:09:09 UTC (rev 59959)
+++ grass/branches/releasebranch_7_0/lib/vector/Vlib/init_head.c	2014-04-29 08:09:25 UTC (rev 59960)
@@ -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