From: Denis Vlasenko Date: Thu, 15 Mar 2007 23:30:18 +0000 (-0000) Subject: gunzip: s/unsigned char extra_short/unsigned extra_short/ X-Git-Tag: 1_5_1~42 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3ce293b58560e451e908738ccf9fe5fe3314984f;p=oweals%2Fbusybox.git gunzip: s/unsigned char extra_short/unsigned extra_short/ we can unzip openssh-4.3p2.tar.gz now :) --- 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) 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) {