summaryrefslogtreecommitdiffstats
path: root/lzip.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 11:43:15 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 11:43:15 +0000
commitaffb7986cd388facf63f26a5dd7bd680b866bdf8 (patch)
tree86080ad96b070d413e931908ad1f82ca9348fbc8 /lzip.h
parentAdding upstream version 1.15~rc1. (diff)
downloadlziprecover-affb7986cd388facf63f26a5dd7bd680b866bdf8.tar.xz
lziprecover-affb7986cd388facf63f26a5dd7bd680b866bdf8.zip
Adding upstream version 1.15.upstream/1.15
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r--lzip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lzip.h b/lzip.h
index dec0aae..bdc4c61 100644
--- a/lzip.h
+++ b/lzip.h
@@ -68,10 +68,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 };
inline int get_dis_state( const int len )
- { return std::min( len - min_match_len, max_dis_states - 1 ); }
+ { return std::min( len - min_match_len, dis_states - 1 ); }
inline int get_lit_state( const uint8_t prev_byte )
{ return ( prev_byte >> ( 8 - literal_context_bits ) ); }