Fix lnode comparison

This commit is contained in:
Gregory Lirent 2022-06-05 18:34:48 +03:00
parent a7290700fd
commit 2f62ee51e7

View File

@ -23,6 +23,6 @@ typedef struct libcdsb_list_node {
#define ldir_dir(cur, d) (&((cur)->prev))[(d)>>1]
#define ldir_inv(cur, d) (&((cur)->prev))[(d)&1]
#define lnode_compare(s0, s1) vnode_compare((s0)->node, (s0)->type, (s1)->node, (s1)->type)
#define lnode_compare(s0, s1) vnode_compare(&(s0)->node, (s0)->type, &(s1)->node, (s1)->type)
#endif /* LIBCDSB_SRC_LIST_INCLUDE_H */