]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fix leftover charf
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Tue, 14 Feb 2017 11:19:09 +0000 (12:19 +0100)
committerHans Kristian Rosbach <hk-git@circlestorm.org>
Wed, 15 Feb 2017 11:34:51 +0000 (12:34 +0100)
deflate.c

index 618493f22fec616b2fa21ae5dd9763e40f2720ac..ab3565089ec295cd565439bf4797cfd0b7965f1c 100644 (file)
--- a/deflate.c
+++ b/deflate.c
@@ -1484,7 +1484,7 @@ static block_state deflate_stored(deflate_state *s, int flush) {
         len = MIN(left, have);
         last = flush == Z_FINISH && s->strm->avail_in == 0 &&
                len == left ? 1 : 0;
-        _tr_stored_block(s, (charf *)s->window + s->block_start, len, last);
+        _tr_stored_block(s, (char *)s->window + s->block_start, len, last);
         s->block_start += len;
         flush_pending(s->strm);
     }