Correct the size of the inflate state in the comments.

This commit is contained in:
Mark Adler 2016-09-20 17:27:28 -07:00
parent 70a8763b71
commit 93b0af4aa7

View File

@ -77,7 +77,8 @@ typedef enum {
CHECK -> LENGTH -> DONE CHECK -> LENGTH -> DONE
*/ */
/* state maintained between inflate() calls. Approximately 10K bytes. */ /* State maintained between inflate() calls -- approximately 7K bytes, not
inlcuding the allocated sliding window, which is up to 32K bytes. */
struct inflate_state { struct inflate_state {
inflate_mode mode; /* current inflate mode */ inflate_mode mode; /* current inflate mode */
int last; /* true if processing last block */ int last; /* true if processing last block */