*: eliminate more aliasing warnings

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-02-04 18:41:18 +01:00
parent 98a4c7cf3d
commit 12ca080a1c
6 changed files with 40 additions and 36 deletions

View File

@@ -65,7 +65,7 @@ struct swap_header_v1 {
uint32_t padding[117]; /* 11..127 */
uint32_t badpages[1]; /* 128 */
/* total 129 32-bit words in 2nd kilobyte */
};
} FIX_ALIASING;
#define NWORDS 129
#define hdr ((struct swap_header_v1*)bb_common_bufsiz1)