mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
lzo: fix typo in decompressor
Shift of a LE value seems strange, probably meant to shift the cpu-order variable as in the prvious section of the switch statement. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
f17520e1f1
commit
a1e58bbdc9
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ match:
|
|||
t += 7 + *ip++;
|
||||
}
|
||||
m_pos -= le16_to_cpu(get_unaligned(
|
||||
(const unsigned short *)ip) >> 2);
|
||||
(const unsigned short *)ip)) >> 2;
|
||||
ip += 2;
|
||||
if (m_pos == op)
|
||||
goto eof_found;
|
||||
|
|
Loading…
Reference in a new issue