diff options
-rw-r--r-- | archival/libunarchive/check_header_gzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/check_header_gzip.c b/archival/libunarchive/check_header_gzip.c index 09cd6a94e..66aa57460 100644 --- a/archival/libunarchive/check_header_gzip.c +++ b/archival/libunarchive/check_header_gzip.c | |||
@@ -29,7 +29,7 @@ void check_header_gzip_or_die(int src_fd) | |||
29 | 29 | ||
30 | if (header.formatted.flags & 0x04) { | 30 | if (header.formatted.flags & 0x04) { |
31 | /* bit 2 set: extra field present */ | 31 | /* bit 2 set: extra field present */ |
32 | unsigned char extra_short; | 32 | unsigned extra_short; |
33 | 33 | ||
34 | extra_short = xread_char(src_fd) + (xread_char(src_fd) << 8); | 34 | extra_short = xread_char(src_fd) + (xread_char(src_fd) << 8); |
35 | while (extra_short > 0) { | 35 | while (extra_short > 0) { |