[GRASS-SVN] r38668 - grass/trunk/lib/vector/rtree

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 10 01:59:01 EDT 2009


Author: mmetz
Date: 2009-08-10 01:59:00 -0400 (Mon, 10 Aug 2009)
New Revision: 38668

Modified:
   grass/trunk/lib/vector/rtree/index.c
Log:
cast no longer necessary

Modified: grass/trunk/lib/vector/rtree/index.c
===================================================================
--- grass/trunk/lib/vector/rtree/index.c	2009-08-10 05:46:02 UTC (rev 38667)
+++ grass/trunk/lib/vector/rtree/index.c	2009-08-10 05:59:00 UTC (rev 38668)
@@ -126,7 +126,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.id, 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