summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gzip/unzip.c
diff options
context:
space:
mode:
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