Skip to content

Commit

Permalink
Merge pull request #693 from sjthomason/fix-cfg-block-alignment
Browse files Browse the repository at this point in the history
core: ensure cfg_block structure is 8 byte aligned
  • Loading branch information
miconda committed Jul 4, 2016
2 parents 552cab3 + 0fd0715 commit 261c8a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cfg/cfg_struct.h
Expand Up @@ -129,6 +129,7 @@ typedef struct _cfg_block {
atomic_t refcnt; /*!< reference counter,
the block is automatically deleted
when it reaches 0 */
int _pad; /*!< force 8 byte alignment */
unsigned char vars[1]; /*!< blob that contains the values */
} cfg_block_t;

Expand Down

0 comments on commit 261c8a8

Please sign in to comment.