[GRASS-SVN] r38669 - grass/trunk/lib/vector/diglib
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 10 01:59:59 EDT 2009
Author: mmetz
Date: 2009-08-10 01:59:59 -0400 (Mon, 10 Aug 2009)
New Revision: 38669
Modified:
grass/trunk/lib/vector/diglib/spindex_rw.c
Log:
bugfix for rtree_search
Modified: grass/trunk/lib/vector/diglib/spindex_rw.c
===================================================================
--- grass/trunk/lib/vector/diglib/spindex_rw.c 2009-08-10 05:59:00 UTC (rev 38668)
+++ grass/trunk/lib/vector/diglib/spindex_rw.c 2009-08-10 05:59:59 UTC (rev 38669)
@@ -1008,7 +1008,7 @@
RTreeOverlap(r, &(s[top].sn.branch[i].rect), t)) {
hitCount++;
if (shcb) { /* call the user-provided callback */
- if (!shcb((int)s[top].sn.branch[i].child, cbarg)) {
+ if (!shcb(s[top].sn.branch[i].child.id, cbarg)) {
/* callback wants to terminate search early */
return hitCount;
}
More information about the grass-commit
mailing list