[git commit master] lzop: fix indentation

Denys Vlasenko vda.linux at googlemail.com
Sat May 29 23:57:52 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=8bcaa6a4e9f3c88bc86b2064950fcd06d6424230
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 archival/lzop.c |    2 +-
 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);
-- 
1.6.3.3



More information about the busybox-cvs mailing list