unxz: get_le32 macro is obviously wrong
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 7 Aug 2017 18:56:54 +0000 (20:56 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 7 Aug 2017 18:56:54 +0000 (20:56 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/libarchive/decompress_unxz.c

index 350e5358a6fa62eb3f8a7443161550fc6e9a6a15..0be85500ca9a3678ff8b9e689ad4b7bfdb0a341c 100644 (file)
@@ -37,7 +37,6 @@ static uint32_t xz_crc32(const uint8_t *buf, size_t size, uint32_t crc)
  || !defined(put_unaligned_be32)
 # error get_unaligned_le32 accessors are not defined
 #endif
-#define get_le32(p) (*(uint32_t*)(p))
 
 #include "unxz/xz_dec_bcj.c"
 #include "unxz/xz_dec_lzma2.c"