summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gzip/unzip.c
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1993-10-14 00:33:38 +0000
committernate <nate@FreeBSD.org>1993-10-14 00:33:38 +0000
commiteb837699da243caa78b6b6ddf8065c8f6eb8a2e8 (patch)
tree4fbeb313da94b4852b82e5b0448d45f2e7ae41e9 /gnu/usr.bin/gzip/unzip.c
parentf2586b2d69a4cd1077f15d406ee9c5e345ac3b8d (diff)
downloadFreeBSD-src-eb837699da243caa78b6b6ddf8065c8f6eb8a2e8.zip
FreeBSD-src-eb837699da243caa78b6b6ddf8065c8f6eb8a2e8.tar.gz
Updated gzip from version 1.2.2 to 1.2.4 due to popular demand
Diffstat (limited to 'gnu/usr.bin/gzip/unzip.c')
-rw-r--r--gnu/usr.bin/gzip/unzip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gzip/unzip.c b/gnu/usr.bin/gzip/unzip.c
index 48cdebe..7e287a1 100644
--- a/gnu/usr.bin/gzip/unzip.c
+++ b/gnu/usr.bin/gzip/unzip.c
@@ -13,7 +13,7 @@
either deflated or stored.
*/
-#ifndef lint
+#ifdef RCSID
static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 13:29:00 jloup Exp $";
#endif
@@ -174,7 +174,7 @@ int unzip(in, out)
if (orig_crc != updcrc(outbuf, 0)) {
error("invalid compressed data--crc error");
}
- if (orig_len != bytes_out) {
+ if (orig_len != (ulg)bytes_out) {
error("invalid compressed data--length error");
}
OpenPOWER on IntegriCloud