Add padding to preserve alignment on 32-bit systems
This commit is contained in:
parent
823a820e87
commit
cb26aeac8d
1 changed files with 1 additions and 0 deletions
1
capn.h
1
capn.h
|
|
@ -89,6 +89,7 @@ struct capn_tree *capn_tree_insert(struct capn_tree *root, struct capn_tree *n);
|
||||||
*/
|
*/
|
||||||
struct capn_segment {
|
struct capn_segment {
|
||||||
struct capn_tree hdr;
|
struct capn_tree hdr;
|
||||||
|
void *pad1;
|
||||||
struct capn_segment *next;
|
struct capn_segment *next;
|
||||||
struct capn *capn;
|
struct capn *capn;
|
||||||
uint32_t id;
|
uint32_t id;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue