diff options
Diffstat (limited to 'src/tree.c')
-rw-r--r-- | src/tree.c | 4 |
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 |