diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-16 01:25:34 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-16 01:25:34 +0100 |
commit | df1689138e71fa3648209db28146a595c4e63c26 (patch) | |
tree | 173da57b164e8ecdc9cf80da41a73443dd7a6c97 /archival | |
parent | 068444629fbcf59dd8165a63885f8e69fd5cb474 (diff) | |
download | busybox-w32-df1689138e71fa3648209db28146a595c4e63c26.tar.gz busybox-w32-df1689138e71fa3648209db28146a595c4e63c26.tar.bz2 busybox-w32-df1689138e71fa3648209db28146a595c4e63c26.zip |
remove a few aliasing warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r-- | archival/libarchive/get_header_tar.c | 2 |
1 files changed, 1 insertions, 1 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(). |