unzip: fix regression on big-endian machines
authorNatanael Copa <ncopa@alpinelinux.org>
Tue, 25 Jul 2017 18:44:50 +0000 (20:44 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 4 Aug 2017 12:54:16 +0000 (14:54 +0200)
commit4989d05174efd267d2fd85dc2e7f7beaafb8ab37
tree6bc26828c24061645d559f15c2cb5f408f55c7a1
parent21e5d0f841cfb1bee8751983c9a2bd199ec9eb75
unzip: fix regression on big-endian machines

This fixes a regression which was introduced with commit 2a0867a5
("unzip: optional support for bzip2 and lzma") and causes unzip to exit
with error when extracting archives:

  unzip: unsupported method 2048

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/unzip.c