aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mkswap.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-04 18:41:18 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-04 18:41:18 +0100
commit12ca080a1ca8dfd0aeac54485451b906a7e61b16 (patch)
treeabb273fb03a73bc9c20d05f9128bdfd9bfe55e55 /util-linux/mkswap.c
parent98a4c7cf3d799ab953cb77e8b34597c73e3e7335 (diff)
downloadbusybox-w32-12ca080a1ca8dfd0aeac54485451b906a7e61b16.tar.gz
busybox-w32-12ca080a1ca8dfd0aeac54485451b906a7e61b16.tar.bz2
busybox-w32-12ca080a1ca8dfd0aeac54485451b906a7e61b16.zip
*: eliminate more aliasing warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mkswap.c')
-rw-r--r--util-linux/mkswap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c
index 949c71a78..7e32d91ed 100644
--- a/util-linux/mkswap.c
+++ b/util-linux/mkswap.c
@@ -65,7 +65,7 @@ struct swap_header_v1 {
65 uint32_t padding[117]; /* 11..127 */ 65 uint32_t padding[117]; /* 11..127 */
66 uint32_t badpages[1]; /* 128 */ 66 uint32_t badpages[1]; /* 128 */
67 /* total 129 32-bit words in 2nd kilobyte */ 67 /* total 129 32-bit words in 2nd kilobyte */
68}; 68} FIX_ALIASING;
69 69
70#define NWORDS 129 70#define NWORDS 129
71#define hdr ((struct swap_header_v1*)bb_common_bufsiz1) 71#define hdr ((struct swap_header_v1*)bb_common_bufsiz1)