diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-02-05 14:40:23 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-02-05 14:40:23 +0100 |
commit | 36659fda1f05e735839b22d9e8892731fb46d7b0 (patch) | |
tree | d4e24cbd45d18ea1aa58cbb0d76aa9a69869db00 /util-linux | |
parent | 12ca080a1ca8dfd0aeac54485451b906a7e61b16 (diff) | |
download | busybox-w32-36659fda1f05e735839b22d9e8892731fb46d7b0.tar.gz busybox-w32-36659fda1f05e735839b22d9e8892731fb46d7b0.tar.bz2 busybox-w32-36659fda1f05e735839b22d9e8892731fb46d7b0.zip |
*: fix 1/4 remaining aliasing warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/fdisk.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index c9f57c6d6..a731316ce 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -625,7 +625,7 @@ write_sector(sector_t secno, const void *buf) | |||
625 | 625 | ||
626 | #include "fdisk_aix.c" | 626 | #include "fdisk_aix.c" |
627 | 627 | ||
628 | typedef struct { | 628 | struct sun_partition { |
629 | unsigned char info[128]; /* Informative text string */ | 629 | unsigned char info[128]; /* Informative text string */ |
630 | unsigned char spare0[14]; | 630 | unsigned char spare0[14]; |
631 | struct sun_info { | 631 | struct sun_info { |
@@ -651,7 +651,8 @@ typedef struct { | |||
651 | } partitions[8]; | 651 | } partitions[8]; |
652 | unsigned short magic; /* Magic number */ | 652 | unsigned short magic; /* Magic number */ |
653 | unsigned short csum; /* Label xor'd checksum */ | 653 | unsigned short csum; /* Label xor'd checksum */ |
654 | } sun_partition; | 654 | } FIX_ALIASING; |
655 | typedef struct sun_partition sun_partition; | ||
655 | #define sunlabel ((sun_partition *)MBRbuffer) | 656 | #define sunlabel ((sun_partition *)MBRbuffer) |
656 | STATIC_OSF void bsd_select(void); | 657 | STATIC_OSF void bsd_select(void); |
657 | STATIC_OSF void xbsd_print_disklabel(int); | 658 | STATIC_OSF void xbsd_print_disklabel(int); |