Commit 6812abb6 authored by Teodor Sigaev's avatar Teodor Sigaev

Fix incorrect header size macros

parent fb30ac54
......@@ -13,7 +13,7 @@ typedef struct RegisNode
unsigned char data[1];
} RegisNode;
#define RNHDRSZ (sizeof(uint32)+sizeof(void*))
#define RNHDRSZ (offsetof(RegisNode,data))
#define RSF_ONEOF 1
#define RSF_NONEOF 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment