summaryrefslogtreecommitdiff
path: root/main/lzo/src/lzo_swd.ch
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2017-06-22 18:33:26 +0200
committerArne Schwabe <arne@rfc2549.org>2017-06-22 18:33:26 +0200
commit6c12bd2094234edc1a129969b89cf45b1da889bd (patch)
treea39b3af9ad861334a844035d4d88232c8f9ed0ec /main/lzo/src/lzo_swd.ch
parentf35afa13da08a058bc28ca0e535e044093148e3a (diff)
Update lzo to 2.10
Diffstat (limited to 'main/lzo/src/lzo_swd.ch')
-rw-r--r--main/lzo/src/lzo_swd.ch5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/lzo/src/lzo_swd.ch b/main/lzo/src/lzo_swd.ch
index 4a73a6b4..20bc4617 100644
--- a/main/lzo/src/lzo_swd.ch
+++ b/main/lzo/src/lzo_swd.ch
@@ -2,7 +2,7 @@
This file is part of the LZO real-time data compression library.
- Copyright (C) 1996-2015 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;