From: Mark Adler Date: Wed, 21 Sep 2016 00:27:28 +0000 (-0700) Subject: Correct the size of the inflate state in the comments. X-Git-Tag: 1.9.9-b1~747 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dd8ad328a7f52ad432b0cb752ae5d36798f4fbe;p=thirdparty%2Fzlib-ng.git Correct the size of the inflate state in the comments. --- diff --git a/inflate.h b/inflate.h index 2bf129db1..1bf051ec5 100644 --- a/inflate.h +++ b/inflate.h @@ -80,7 +80,8 @@ typedef enum { CHECK -> LENGTH -> DONE */ -/* state maintained between inflate() calls. Approximately 10K bytes. */ +/* State maintained between inflate() calls -- approximately 7K bytes, not + including the allocated sliding window, which is up to 32K bytes. */ struct inflate_state { inflate_mode mode; /* current inflate mode */ int last; /* true if processing last block */