aboutsummaryrefslogtreecommitdiffstats
path: root/src/tree.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tree.c b/src/tree.c
index 26b58845c..4b212cca6 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -630,13 +630,13 @@ void IncrementTreeIterator(TreeIterator * iter)
}
}
-TreeKeyData
+const TreeKeyData *
GetTreeKeyData(TreeIterator * iter)
{
assert(iter->node &&
iter->which > 0 &&
iter->which <= iter->node->count);
- return iter->node->keyData[iter->which-1];
+ return &iter->node->keyData[iter->which-1];
}
int