From 93b0af4aa73c8debe2cc18e56101700423096146 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Tue, 20 Sep 2016 17:27:28 -0700 Subject: [PATCH] Correct the size of the inflate state in the comments. --- inflate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inflate.h b/inflate.h index 95f4986..fbc9a67 100644 --- a/inflate.h +++ b/inflate.h @@ -77,7 +77,8 @@ typedef enum { 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 { inflate_mode mode; /* current inflate mode */ int last; /* true if processing last block */