From 76b65624b93dc969334dbc5d72ff58ffd465f619 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 7 Aug 2017 20:56:54 +0200 Subject: [PATCH] unxz: get_le32 macro is obviously wrong Signed-off-by: Denys Vlasenko --- archival/libarchive/decompress_unxz.c | 1 - 1 file changed, 1 deletion(-) 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" -- 2.25.1