瀏覽代碼

Vlib: fix G_zero() usage

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59959 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 11 年之前
父節點
當前提交
7f95d80e6b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/vector/Vlib/init_head.c

+ 1 - 1
lib/vector/Vlib/init_head.c

@@ -30,7 +30,7 @@ void Vect__init_head(struct Map_info *Map)
 {
     char buf[64];
 
-    G_zero(&(Map->head), sizeof(struct dig_head *));
+    G_zero(&(Map->head), sizeof(struct dig_head));
 
     /* organization */
     Vect_set_organization(Map, "");