summaryrefslogtreecommitdiff
path: root/inflate.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2016-09-20 17:27:28 -0700
committerMark Adler <madler@alumni.caltech.edu>2016-09-20 17:27:28 -0700
commit93b0af4aa73c8debe2cc18e56101700423096146 (patch)
treea254cf2dcea7b605473a0e51442aedb1d09a6193 /inflate.h
parent70a8763b7187f2536ce7fe4d399ce9a79c9faf7c (diff)
downloadzlib-93b0af4aa73c8debe2cc18e56101700423096146.tar.gz
Correct the size of the inflate state in the comments.
Diffstat (limited to 'inflate.h')
-rw-r--r--inflate.h3
1 files changed, 2 insertions, 1 deletions
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 */