summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-29 23:57:52 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-05-29 23:57:52 (GMT)
commit8bcaa6a4e9f3c88bc86b2064950fcd06d6424230 (patch)
treeaf1c8d686eb080fad62e504130d01e7ae72590b3
parent7bdfb7cbf0697f57d3421460558d6b4615ba14ec (diff)
downloadbusybox-8bcaa6a4e9f3c88bc86b2064950fcd06d6424230.tar.gz
busybox-8bcaa6a4e9f3c88bc86b2064950fcd06d6424230.tar.bz2
lzop: fix indentation
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--archival/lzop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/lzop.c b/archival/lzop.c
index d6cf6f4..ceace04 100644
--- 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);