summaryrefslogtreecommitdiff
path: root/archival/libunarchive/check_header_gzip.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-03-15 23:30:18 +0000
committerDenis Vlasenko2007-03-15 23:30:18 +0000
commit3ce293b58560e451e908738ccf9fe5fe3314984f (patch)
treef79cbf18698976565033e77f7191051953fd0579 /archival/libunarchive/check_header_gzip.c
parent4efeaee387eb9c20afcf5576802755a646adb776 (diff)
downloadbusybox-3ce293b58560e451e908738ccf9fe5fe3314984f.zip
busybox-3ce293b58560e451e908738ccf9fe5fe3314984f.tar.gz
gunzip: s/unsigned char extra_short/unsigned extra_short/
we can unzip openssh-4.3p2.tar.gz now :)
Diffstat (limited to 'archival/libunarchive/check_header_gzip.c')
-rw-r--r--archival/libunarchive/check_header_gzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/check_header_gzip.c b/archival/libunarchive/check_header_gzip.c
index 09cd6a9..66aa574 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)
if (header.formatted.flags & 0x04) {
/* bit 2 set: extra field present */
- unsigned char extra_short;
+ unsigned extra_short;
extra_short = xread_char(src_fd) + (xread_char(src_fd) << 8);
while (extra_short > 0) {