summaryrefslogtreecommitdiffstats
path: root/encoder.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 10:00:02 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 10:00:02 +0000
commit87ecf0660c0e11efa9eab93b8b20cf251de08d21 (patch)
tree83b393486d489834d8831512a00322fff50ade33 /encoder.h
parentAdding debian version 1.15~pre3-1. (diff)
downloadlzip-87ecf0660c0e11efa9eab93b8b20cf251de08d21.tar.xz
lzip-87ecf0660c0e11efa9eab93b8b20cf251de08d21.zip
Merging upstream version 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;