projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bdfb7c
)
lzop: fix indentation
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 29 May 2010 23:57:52 +0000
(
01:57
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 29 May 2010 23:57:52 +0000
(
01:57
+0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/lzop.c
patch
|
blob
|
history
diff --git
a/archival/lzop.c
b/archival/lzop.c
index d6cf6f4f50c64bbcc841064dd9c066787636d865..ceace0436f53e301647bd290cc6bfb421e1e0450 100644
(file)
--- a/
archival/lzop.c
+++ b/
archival/lzop.c
@@
-475,7
+475,7
@@
lzo_crc32(uint32_t c, const uint8_t* buf, unsigned len)
crc = ~c;
if (len != 0) do {
-
crc = G.lzo_crc32_table[((int)crc ^ *buf) & 0xff
] ^ (crc >> 8);
+
crc = G.lzo_crc32_table[(uint8_t)((int)crc ^ *buf)
] ^ (crc >> 8);
buf += 1;
len -= 1;
} while (len > 0);