Better struc alignment for 64 bit architecture.

This commit is contained in:
Andrea Mazzoleni 2011-09-03 23:54:27 +02:00
parent abd0096711
commit d6dcfe973e

2
elem.h
View file

@ -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. */
};