On Mon, Aug 7, 2017 at 10:58 PM, Johannes Schindelin
<johannes.schinde...@gmx.de> wrote:
> +++ b/archival/libarchive/decompress_unxz.c
> @@ -37,6 +37,11 @@ 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
> +static ALWAYS_INLINE uint32_t get_le32_fast(const void *p)
> +{
> +  return *(uint32_t *)p;
> +}
> +#define get_le32 get_le32_fast


It misses little-endian conversion.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to