fix(query): commit

This commit is contained in:
Haojun Liao 2022-09-03 22:19:25 +08:00
parent 8e37698430
commit a06053712d
1 changed files with 2 additions and 1 deletions

View File

@ -51,9 +51,10 @@ struct SRBTreeNode {
SRBTreeNode *parent;
SRBTreeNode *left;
SRBTreeNode *right;
uint8_t payload[0];
};
#define RBTREE_NODE_PAYLOAD(N) ((const void *)&(N)[1])
struct SRBTree {
tRBTreeCmprFn cmprFn;
int64_t n;