summaryrefslogtreecommitdiffstats
path: root/encoder.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2025-02-05 17:23:59 +0000
committerDaniel Baumann <daniel@debian.org>2025-02-05 17:23:59 +0000
commit0b5c2e33f2e4ee8adc5181e6f1e122e3e522e100 (patch)
treec5ae1a360938f34aa1f72d1e9ef6a595fa0346b4 /encoder.h
parentAdding upstream version 1.15~pre3. (diff)
downloadlzip-0b5c2e33f2e4ee8adc5181e6f1e122e3e522e100.tar.xz
lzip-0b5c2e33f2e4ee8adc5181e6f1e122e3e522e100.zip
Adding upstream version 1.15~rc1.upstream/1.15_rc1
Signed-off-by: Daniel Baumann <daniel@debian.org>
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;