From d6dcfe973e37e3038bfb6b081cd76b4ae71790bd Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sat, 3 Sep 2011 23:54:27 +0200 Subject: [PATCH] Better struc alignment for 64 bit architecture. --- elem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elem.h b/elem.h index dde0a112..c5002009 100644 --- a/elem.h +++ b/elem.h @@ -73,8 +73,8 @@ struct snapraid_file; * Block of a file. */ struct snapraid_block { - block_off_t parity_pos; /**< Position of the block in the parity. */ uintptr_t file_mixed; /**< Back pointer to the file owning this block, mixed with some flags. */ + block_off_t parity_pos; /**< Position of the block in the parity. */ unsigned char hash[HASH_SIZE]; /**< Hash of the block. */ };