skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit c38dab752d690fc6d5bcaaf1d481b270e48f3889
parent 204d73b14f631e994668a8fd581204af268d35c8
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Thu, 18 May 2023 03:12:53 +0000

 More more avltree macro fixes

Signed-off-by: Laurent Bercot <ska@appnovation.com>

Diffstat:
Msrc/include/skalibs/avltree.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/skalibs/avltree.h b/src/include/skalibs/avltree.h @@ -52,7 +52,7 @@ extern int avltree_insert (avltree *, uint32_t) ; extern int avltree_delete (avltree *, void const *) ; #define avltree_iter_nocancel(t, cut, f, p) avlnode_iter_nocancel(avltree_nodes(t), avltree_totalsize(t), cut, avltree_root(t), f, p) -#define avltree_iter(t, f, p) avlnode_iter(t, avltree_totalsize(t), avltree_root(t), f, p) +#define avltree_iter(t, f, p) avlnode_iter(avltree_nodes(t), avltree_totalsize(t), avltree_root(t), f, p) #define avltree_iter_withcancel(t, f, cancelf, p) avlnode_iter_withcancel(avltree_nodes(t), avltree_totalsize(t), avltree_root(t), f, cancelf, p) #endif