Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[bitops] Add missing __attribute__ (( packed ))
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Feb 17, 2011
1 parent e8c636f commit 00f5ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/ipxe/bitops.h
Expand Up @@ -66,7 +66,7 @@ typedef unsigned char pseudo_bit_t;
uint32_t dwords[ sizeof ( _structure ) / 32 ]; \
uint64_t qwords[ sizeof ( _structure ) / 64 ]; \
_structure *dummy[0]; \
} u
} __attribute__ (( packed )) u

/** Get pseudo_bit_t structure type from wrapper structure pointer */
#define PSEUDO_BIT_STRUCT_TYPE( _ptr ) \
Expand Down

0 comments on commit 00f5ba7

Please sign in to comment.