summaryrefslogtreecommitdiff
path: root/archival/libarchive/lzo1x_9x.c
diff options
context:
space:
mode:
authorDenys Vlasenko2013-10-16 14:21:20 +0200
committerDenys Vlasenko2013-10-16 14:21:20 +0200
commit5117eff6f938a6daa269f965a52abc93b49d90d6 (patch)
treee0cd5ec91a93da075184310cd51f35f11744f453 /archival/libarchive/lzo1x_9x.c
parenteba5faec67da1c95cf9616b5deacbea24fbd3998 (diff)
downloadbusybox-5117eff6f938a6daa269f965a52abc93b49d90d6.zip
busybox-5117eff6f938a6daa269f965a52abc93b49d90d6.tar.gz
Fix some compiler warnings emitted by gcc-4.8.0
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/libarchive/lzo1x_9x.c')
-rw-r--r--archival/libarchive/lzo1x_9x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libarchive/lzo1x_9x.c b/archival/libarchive/lzo1x_9x.c
index 8971329..3e33198 100644
--- a/archival/libarchive/lzo1x_9x.c
+++ b/archival/libarchive/lzo1x_9x.c
@@ -94,7 +94,7 @@ typedef struct {
( ((0x9f5f * ((((b[p]<<5)^b[p+1])<<5) ^ b[p+2])) >> 5) & (SWD_HSIZE-1) )
#if defined(LZO_UNALIGNED_OK_2)
-# define HEAD2(b,p) (* (uint16_t *) &(b[p]))
+# define HEAD2(b,p) (* (bb__aliased_uint16_t *) &(b[p]))
#else
# define HEAD2(b,p) (b[p] ^ ((unsigned)b[p+1]<<8))
#endif