summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-30 01:57:52 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-30 01:57:52 +0200
commit8bcaa6a4e9f3c88bc86b2064950fcd06d6424230 (patch)
treeaf1c8d686eb080fad62e504130d01e7ae72590b3
parent7bdfb7cbf0697f57d3421460558d6b4615ba14ec (diff)
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 d6cf6f4f5..ceace0436 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);