aboutsummaryrefslogtreecommitdiffstats
path: root/src/tree.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-01-26 12:46:30 +0000
committerEric Wong <normalperson@yhbt.net>2008-01-26 12:46:30 +0000
commit0659d359513107e3ed4b66a471f3cb3939a09521 (patch)
tree96bd7379db0604e1aa5474916567b6e1d2a63c80 /src/tree.h
parent07eaad301af56995f5c6a541c06ef9483d9fa9ec (diff)
downloadmpd-0659d359513107e3ed4b66a471f3cb3939a09521.tar.gz
mpd-0659d359513107e3ed4b66a471f3cb3939a09521.tar.xz
mpd-0659d359513107e3ed4b66a471f3cb3939a09521.zip
fix -Waggregate-return
Signed-off-by: Eric Wong <normalperson@yhbt.net> git-svn-id: https://svn.musicpd.org/mpd/trunk@7145 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/tree.h')
-rw-r--r--src/tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree.h b/src/tree.h
index 76a980cd2..4d30e0106 100644
--- a/src/tree.h
+++ b/src/tree.h
@@ -51,7 +51,7 @@ void SetTreeIteratorToBegin(Tree * tree, TreeIterator * iter);
int IsTreeIteratorAtEnd(const TreeIterator * iter);
void IncrementTreeIterator(TreeIterator * iter);
-TreeKeyData GetTreeKeyData(TreeIterator * iter);
+const TreeKeyData *GetTreeKeyData(TreeIterator * iter);
int InsertInTree(Tree * tree, void * key, void * data);
int RemoveFromTreeByKey(Tree * tree, void * key);