summaryrefslogtreecommitdiff
path: root/archival/unzip.c
diff options
context:
space:
mode:
authorDenis Vlasenko2009-02-26 11:57:01 +0000
committerDenis Vlasenko2009-02-26 11:57:01 +0000
commita76f10b544b4ffe4b0aaf41eede1aeb9b13a95e8 (patch)
treea41295eaee4b3f28a6e20df4e592ffacc42ac4ab /archival/unzip.c
parent15c0b725849875c718b168a26e13872e163cde4c (diff)
downloadbusybox-a76f10b544b4ffe4b0aaf41eede1aeb9b13a95e8.zip
busybox-a76f10b544b4ffe4b0aaf41eede1aeb9b13a95e8.tar.gz
Apply post-1.13.2 fixes, bump version to 1.13.3
Diffstat (limited to 'archival/unzip.c')
-rw-r--r--archival/unzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/unzip.c b/archival/unzip.c
index e468ff4..7b47a8a 100644
--- a/archival/unzip.c
+++ b/archival/unzip.c
@@ -140,7 +140,7 @@ struct BUG_cde_header_must_be_16_bytes {
};
#define FIX_ENDIANNESS_CDE(cde_header) do { \
- (cde_header).formatted.cds_offset = SWAP_LE16((cde_header).formatted.cds_offset); \
+ (cde_header).formatted.cds_offset = SWAP_LE32((cde_header).formatted.cds_offset); \
} while (0)
enum { zip_fd = 3 };