remove a few aliasing warnings

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-01-16 01:25:34 +01:00
parent 068444629f
commit df1689138e
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ char FAST_FUNC get_header_tar(archive_handle_t *archive_handle)
uint16_t magic2;
autodetect:
magic2 = *(uint16_t*)tar.name;
magic2 = *(bb__aliased_uint16_t*)tar.name;
/* tar gz/bz autodetect: check for gz/bz2 magic.
* If we see the magic, and it is the very first block,
* we can switch to get_header_tar_gz/bz2/lzma().

View File

@ -25,7 +25,7 @@ struct xid_item {
uint32_t xid;
struct sockaddr_in ip;
struct xid_item *next;
};
} FIX_ALIASING;
#define dhcprelay_xid_list (*(struct xid_item*)&bb_common_bufsiz1)