[GRASS-SVN] r64878 - grass/branches/releasebranch_6_4/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 17 01:27:09 PDT 2015


Author: mmetz
Date: 2015-03-17 01:27:09 -0700 (Tue, 17 Mar 2015)
New Revision: 64878

Modified:
   grass/branches/releasebranch_6_4/lib/vector/Vlib/break_polygons.c
Log:
Vlib: fix RTree search hit callback fn

Modified: grass/branches/releasebranch_6_4/lib/vector/Vlib/break_polygons.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/vector/Vlib/break_polygons.c	2015-03-16 21:44:25 UTC (rev 64877)
+++ grass/branches/releasebranch_6_4/lib/vector/Vlib/break_polygons.c	2015-03-17 08:27:09 UTC (rev 64878)
@@ -36,9 +36,11 @@
 static int fpoint;
 
 /* Function called from RTreeSearch for point found */
-void srch(int id, int *arg)
+int srch(int id, int *arg)
 {
     fpoint = id;
+    
+    return 0;
 }
 
 /*!



More information about the grass-commit mailing list