Browse Source

[bitops] Add missing __attribute__ (( packed ))

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 years ago
parent
commit
00f5ba701f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/include/ipxe/bitops.h

+ 1
- 1
src/include/ipxe/bitops.h View File

@@ -66,7 +66,7 @@ typedef unsigned char pseudo_bit_t;
66 66
 		uint32_t dwords[ sizeof ( _structure ) / 32 ];		      \
67 67
 		uint64_t qwords[ sizeof ( _structure ) / 64 ];		      \
68 68
 		_structure *dummy[0];					      \
69
-	} u
69
+	} __attribute__ (( packed )) u
70 70
 
71 71
 /** Get pseudo_bit_t structure type from wrapper structure pointer */
72 72
 #define PSEUDO_BIT_STRUCT_TYPE( _ptr )					      \

Loading…
Cancel
Save