diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2016-09-20 17:27:28 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2016-09-20 17:27:28 -0700 |
commit | 93b0af4aa73c8debe2cc18e56101700423096146 (patch) | |
tree | a254cf2dcea7b605473a0e51442aedb1d09a6193 /inflate.h | |
parent | 70a8763b7187f2536ce7fe4d399ce9a79c9faf7c (diff) | |
download | zlib-93b0af4aa73c8debe2cc18e56101700423096146.tar.gz zlib-93b0af4aa73c8debe2cc18e56101700423096146.tar.bz2 zlib-93b0af4aa73c8debe2cc18e56101700423096146.zip |
Correct the size of the inflate state in the comments.
Diffstat (limited to 'inflate.h')
-rw-r--r-- | inflate.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -77,7 +77,8 @@ typedef enum { | |||
77 | CHECK -> LENGTH -> DONE | 77 | CHECK -> LENGTH -> DONE |
78 | */ | 78 | */ |
79 | 79 | ||
80 | /* state maintained between inflate() calls. Approximately 10K bytes. */ | 80 | /* State maintained between inflate() calls -- approximately 7K bytes, not |
81 | inlcuding the allocated sliding window, which is up to 32K bytes. */ | ||
81 | struct inflate_state { | 82 | struct inflate_state { |
82 | inflate_mode mode; /* current inflate mode */ | 83 | inflate_mode mode; /* current inflate mode */ |
83 | int last; /* true if processing last block */ | 84 | int last; /* true if processing last block */ |