Commit ad8c8d93 by Jacques Germishuys

Ensure pool data is aligned on an 8 byte boundary

parent 3aaa5c7b
...@@ -7,7 +7,7 @@ struct git_pool_page { ...@@ -7,7 +7,7 @@ struct git_pool_page {
git_pool_page *next; git_pool_page *next;
uint32_t size; uint32_t size;
uint32_t avail; uint32_t avail;
char data[GIT_FLEX_ARRAY]; GIT_ALIGN(char data[GIT_FLEX_ARRAY], 8);
}; };
struct pool_freelist { struct pool_freelist {
......
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