summaryrefslogtreecommitdiffstats
path: root/lzip.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 13:49:41 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 13:49:41 +0000
commitc794d14492b4ee65896b675054f22e899b57a627 (patch)
tree2b81b1a777641831de03b22d16af14c2b7830e8a /lzip.h
parentAdding upstream version 1.5~rc1. (diff)
downloadlzlib-c794d14492b4ee65896b675054f22e899b57a627.tar.xz
lzlib-c794d14492b4ee65896b675054f22e899b57a627.zip
Adding upstream version 1.5.upstream/1.5
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'lzip.h')
-rw-r--r--lzip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lzip.h b/lzip.h
index df1beca..d10ae71 100644
--- a/lzip.h
+++ b/lzip.h
@@ -83,10 +83,10 @@ enum {
max_match_len = min_match_len + max_len_symbols - 1, /* 273 */
min_match_len_limit = 5,
- max_dis_states = 4 };
+ dis_states = 4 };
static inline int get_dis_state( const int len )
- { return min( len - min_match_len, max_dis_states - 1 ); }
+ { return min( len - min_match_len, dis_states - 1 ); }
static inline int get_lit_state( const uint8_t prev_byte )
{ return ( prev_byte >> ( 8 - literal_context_bits ) ); }