Ensure pool data is aligned on an 8 byte boundary

This commit is contained in:
Jacques Germishuys 2014-09-25 12:05:48 +02:00
parent 3aaa5c7b46
commit ad8c8d9325

View File

@ -7,7 +7,7 @@ struct git_pool_page {
git_pool_page *next;
uint32_t size;
uint32_t avail;
char data[GIT_FLEX_ARRAY];
GIT_ALIGN(char data[GIT_FLEX_ARRAY], 8);
};
struct pool_freelist {