summaryrefslogtreecommitdiff
path: root/src/lzo_swd.ch
diff options
context:
space:
mode:
Diffstat (limited to 'src/lzo_swd.ch')
-rw-r--r--src/lzo_swd.ch10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lzo_swd.ch b/src/lzo_swd.ch
index ea9f931..20bc461 100644
--- a/src/lzo_swd.ch
+++ b/src/lzo_swd.ch
@@ -2,7 +2,7 @@
This file is part of the LZO real-time data compression library.
- Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer
+ Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer
All Rights Reserved.
The LZO library is free software; you can redistribute it and/or
@@ -514,12 +514,13 @@ void swd_search(lzo_swd_p s, lzo_uint node, lzo_uint cnt)
const lzo_bytep b = s_b(s);
const lzo_bytep bp = s_b(s) + s->bp;
const lzo_bytep bx = s_b(s) + s->bp + s->look;
+ swd_uintp succ3 = s_succ3(s);
unsigned char scan_end1;
assert(s->m_len > 0);
scan_end1 = bp[m_len - 1];
- for ( ; cnt-- > 0; node = s_succ3(s)[node])
+ for ( ; cnt-- > 0; node = succ3[node])
{
p1 = bp;
p2 = b + node;
@@ -696,7 +697,4 @@ void swd_findbest(lzo_swd_p s)
#undef s_get_head3
-/*
-vi:ts=4:et
-*/
-
+/* vim:set ts=4 sw=4 et: */