aboutsummaryrefslogtreecommitdiff
path: root/archival/libarchive/decompress_gunzip.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--archival/libarchive/decompress_gunzip.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/archival/libarchive/decompress_gunzip.c b/archival/libarchive/decompress_gunzip.c
index d051ecb81..d2f7a9309 100644
--- a/archival/libarchive/decompress_gunzip.c
+++ b/archival/libarchive/decompress_gunzip.c
@@ -1137,6 +1137,9 @@ static uint32_t buffer_read_le_u32(STATE_PARAM_ONLY)
1137 return res; 1137 return res;
1138} 1138}
1139 1139
1140#if ENABLE_PLATFORM_MINGW32 && __GNUC__
1141#pragma pack(2)
1142#endif
1140static int check_header_gzip(STATE_PARAM transformer_state_t *xstate) 1143static int check_header_gzip(STATE_PARAM transformer_state_t *xstate)
1141{ 1144{
1142 union { 1145 union {
@@ -1208,6 +1211,9 @@ static int check_header_gzip(STATE_PARAM transformer_state_t *xstate)
1208 } 1211 }
1209 return 1; 1212 return 1;
1210} 1213}
1214#if ENABLE_PLATFORM_MINGW32 && __GNUC__
1215#pragma pack()
1216#endif
1211 1217
1212IF_DESKTOP(long long) int FAST_FUNC 1218IF_DESKTOP(long long) int FAST_FUNC
1213unpack_gz_stream(transformer_state_t *xstate) 1219unpack_gz_stream(transformer_state_t *xstate)