summaryrefslogtreecommitdiffhomepage
path: root/archival/libarchive
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-08-07 20:56:54 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-08-07 20:56:54 +0200
commit76b65624b93dc969334dbc5d72ff58ffd465f619 (patch)
treecf61df1dcebf6e46f3ef83bb9a2b0e04902d6515 /archival/libarchive
parented4393bdc7a4d3b1b59293a3393eb1d6953bac99 (diff)
unxz: get_le32 macro is obviously wrong
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/libarchive')
-rw-r--r--archival/libarchive/decompress_unxz.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/archival/libarchive/decompress_unxz.c b/archival/libarchive/decompress_unxz.c
index 350e5358a..0be85500c 100644
--- a/archival/libarchive/decompress_unxz.c
+++ b/archival/libarchive/decompress_unxz.c
@@ -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"