diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-06 02:16:01 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-06 02:16:01 +0000 |
commit | cd0fbb5e778e3cef7f88b71a55b673cbdf7cee85 (patch) | |
tree | 50af1548d88eac7c2e10dd92a89ceda52b203f23 | |
parent | ef66d75704a2ca30b4dceb277fa6fcf694272cda (diff) | |
download | busybox-w32-cd0fbb5e778e3cef7f88b71a55b673cbdf7cee85.tar.gz busybox-w32-cd0fbb5e778e3cef7f88b71a55b673cbdf7cee85.tar.bz2 busybox-w32-cd0fbb5e778e3cef7f88b71a55b673cbdf7cee85.zip |
unzip: hmm... gcc doesn't like ATTRIBUTE_PACKED?? Document that...
-rw-r--r-- | archival/unzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/unzip.c b/archival/unzip.c index 001f2e128..118c99bcd 100644 --- a/archival/unzip.c +++ b/archival/unzip.c | |||
@@ -57,7 +57,7 @@ typedef union { | |||
57 | uint16_t filename_len; /* 22-23 */ | 57 | uint16_t filename_len; /* 22-23 */ |
58 | uint16_t extra_len; /* 24-25 */ | 58 | uint16_t extra_len; /* 24-25 */ |
59 | } formatted ATTRIBUTE_PACKED; | 59 | } formatted ATTRIBUTE_PACKED; |
60 | } zip_header_t ATTRIBUTE_PACKED; | 60 | } zip_header_t; /* ATTRIBUTE_PACKED - gcc 4.2.1 doesn't like it (spews warning) */ |
61 | 61 | ||
62 | /* Check the offset of the last element, not the length. This leniency | 62 | /* Check the offset of the last element, not the length. This leniency |
63 | * allows for poor packing, whereby the overall struct may be too long, | 63 | * allows for poor packing, whereby the overall struct may be too long, |