aboutsummaryrefslogtreecommitdiffstats
path: root/memdisk/inflate.c
diff options
context:
space:
mode:
Diffstat (limited to 'memdisk/inflate.c')
-rw-r--r--memdisk/inflate.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/memdisk/inflate.c b/memdisk/inflate.c
index a07d6f54..6c25ee68 100644
--- a/memdisk/inflate.c
+++ b/memdisk/inflate.c
@@ -978,7 +978,7 @@ STATIC int inflate()
*/
while (bk >= 8) {
bk -= 8;
- inptr--;
+ inbuf--;
}
/* flush out slide */
@@ -1093,10 +1093,12 @@ int gunzip(void)
error("Input has invalid flags");
return -1;
}
- (ulg)get_byte(); /* Get timestamp */
- ((ulg)get_byte()) << 8;
- ((ulg)get_byte()) << 16;
- ((ulg)get_byte()) << 24;
+
+ /* Ignore timestamp */
+ (void)get_byte();
+ (void)get_byte();
+ (void)get_byte();
+ (void)get_byte();
(void)get_byte(); /* Ignore extra flags for the moment */
(void)get_byte(); /* Ignore OS type for the moment */