[git commit] unxz: get_le32 macro is obviously wrong

Denys Vlasenko vda.linux at googlemail.com
Mon Aug 7 18:56:54 UTC 2017


commit: https://git.busybox.net/busybox/commit/?id=76b65624b93dc969334dbc5d72ff58ffd465f619
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 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 350e535..0be8550 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"


More information about the busybox-cvs mailing list