diff --git a/src/rtree.c b/src/rtree.c index 5590034b..f2e2997d 100644 --- a/src/rtree.c +++ b/src/rtree.c @@ -128,5 +128,5 @@ rtree_node_elm_t * rtree_child_read_hard(rtree_t *rtree, rtree_node_elm_t *elm, unsigned level) { - return (rtree_node_init(rtree, level, &elm->child)); + return (rtree_node_init(rtree, level+1, &elm->child)); }