diff options
author | Olivier Brunel <jjk@jjacky.com> | 2018-04-12 18:05:14 +0200 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-04-12 20:07:39 +0000 |
commit | 564c6ba2f899a4b530d58f6ac123e31d6b797fe2 (patch) | |
tree | 0417287dfe53694ff095e2b161dff4a897c8d476 /src/include | |
parent | 06dd48d485bfde56273cd908336060bc00c66cdb (diff) | |
download | skalibs-564c6ba2f899a4b530d58f6ac123e31d6b797fe2.tar.xz |
Fix avltree_deletenode
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/skalibs/avltree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/skalibs/avltree.h b/src/include/skalibs/avltree.h index 1ce7385..8234d95 100644 --- a/src/include/skalibs/avltree.h +++ b/src/include/skalibs/avltree.h @@ -48,7 +48,7 @@ extern int avltree_newnode (avltree *, uint32_t, uint32_t *) ; #define avltree_insertnode(t, i) avltree_setroot(t, avlnode_insertnode(avltree_nodes(t), avltree_totalsize(t), avltree_root(t), i, (t)->dtok, (t)->kcmp, (t)->external)) extern int avltree_insert (avltree *, uint32_t) ; -#define avltree_deletenode(t, i) avltree_delete(t, (*(t)->dtok)(avltree_data(t, i))) +#define avltree_deletenode(t, i) avltree_delete(t, (*(t)->dtok)(avltree_data(t, i),(t)->external)) extern int avltree_delete (avltree *, void const *) ; #define avltree_iter(t, f, p) avlnode_iter(avltree_nodes(t), avltree_totalsize(t), avltree_root(t), f, p) |