diff options
-rw-r--r-- | archival/libarchive/get_header_tar.c | 2 | ||||
-rw-r--r-- | networking/udhcp/dhcprelay.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/archival/libarchive/get_header_tar.c b/archival/libarchive/get_header_tar.c index 78b0ae25f..2e0332792 100644 --- a/archival/libarchive/get_header_tar.c +++ b/archival/libarchive/get_header_tar.c | |||
@@ -199,7 +199,7 @@ char FAST_FUNC get_header_tar(archive_handle_t *archive_handle) | |||
199 | uint16_t magic2; | 199 | uint16_t magic2; |
200 | 200 | ||
201 | autodetect: | 201 | autodetect: |
202 | magic2 = *(uint16_t*)tar.name; | 202 | magic2 = *(bb__aliased_uint16_t*)tar.name; |
203 | /* tar gz/bz autodetect: check for gz/bz2 magic. | 203 | /* tar gz/bz autodetect: check for gz/bz2 magic. |
204 | * If we see the magic, and it is the very first block, | 204 | * If we see the magic, and it is the very first block, |
205 | * we can switch to get_header_tar_gz/bz2/lzma(). | 205 | * we can switch to get_header_tar_gz/bz2/lzma(). |
diff --git a/networking/udhcp/dhcprelay.c b/networking/udhcp/dhcprelay.c index 759a4ba03..86ef04a62 100644 --- a/networking/udhcp/dhcprelay.c +++ b/networking/udhcp/dhcprelay.c | |||
@@ -25,7 +25,7 @@ struct xid_item { | |||
25 | uint32_t xid; | 25 | uint32_t xid; |
26 | struct sockaddr_in ip; | 26 | struct sockaddr_in ip; |
27 | struct xid_item *next; | 27 | struct xid_item *next; |
28 | }; | 28 | } FIX_ALIASING; |
29 | 29 | ||
30 | #define dhcprelay_xid_list (*(struct xid_item*)&bb_common_bufsiz1) | 30 | #define dhcprelay_xid_list (*(struct xid_item*)&bb_common_bufsiz1) |
31 | 31 | ||