diff options
author | David Robillard <d@drobilla.net> | 2012-08-09 01:50:07 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-09 01:50:07 +0000 |
commit | 1ac0d686b1a540f3ffe5a948f07f53b9a9cdbe5b (patch) | |
tree | 3cc280aae8daa7bf8d64868d1a41976eb845418c /src/zix | |
parent | 2fdda7eb1b6b5f5582e05c94591a1db44947af18 (diff) | |
download | lilv-1ac0d686b1a540f3ffe5a948f07f53b9a9cdbe5b.tar.gz lilv-1ac0d686b1a540f3ffe5a948f07f53b9a9cdbe5b.tar.bz2 lilv-1ac0d686b1a540f3ffe5a948f07f53b9a9cdbe5b.zip |
Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wmissing-prototypes.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4631 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/zix')
-rw-r--r-- | src/zix/tree.c | 2 | ||||
-rw-r--r-- | src/zix/tree.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/zix/tree.c b/src/zix/tree.c index c8a5bb4..dd6be5d 100644 --- a/src/zix/tree.c +++ b/src/zix/tree.c @@ -107,7 +107,7 @@ zix_tree_free(ZixTree* t) } size_t -zix_tree_size(ZixTree* t) +zix_tree_size(const ZixTree* t) { return t->size; } diff --git a/src/zix/tree.h b/src/zix/tree.h index 5a74fd7..cb8c60d 100644 --- a/src/zix/tree.h +++ b/src/zix/tree.h @@ -61,7 +61,7 @@ zix_tree_free(ZixTree* t); Return the number of elements in @a t. */ size_t -zix_tree_size(ZixTree* t); +zix_tree_size(const ZixTree* t); /** Insert the element @a e into @a t and point @a ti at the new element. |