summaryrefslogtreecommitdiffstats
path: root/encoder.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 09:59:56 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 09:59:56 +0000
commit5b876d2f480923c5b09428110f4c774c3bf0042e (patch)
treec5ae1a360938f34aa1f72d1e9ef6a595fa0346b4 /encoder.h
parentAdding upstream version 1.15~pre3. (diff)
downloadlzip-5b876d2f480923c5b09428110f4c774c3bf0042e.tar.xz
lzip-5b876d2f480923c5b09428110f4c774c3bf0042e.zip
Adding upstream version 1.15~rc1.upstream/1.15_rc1
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'encoder.h')
-rw-r--r--encoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/encoder.h b/encoder.h
index 973ba6c..577ceeb 100644
--- a/encoder.h
+++ b/encoder.h
@@ -42,7 +42,7 @@ public:
extern Dis_slots dis_slots;
-static inline uint8_t get_slot( const uint32_t dis )
+inline uint8_t get_slot( const uint32_t dis )
{
if( dis < (1 << 10) ) return dis_slots[dis];
if( dis < (1 << 19) ) return dis_slots[dis>> 9] + 18;