lzop: fix indentation
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 29 May 2010 23:57:52 +0000 (01:57 +0200)
committerDenys 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

index d6cf6f4f50c64bbcc841064dd9c066787636d865..ceace0436f53e301647bd290cc6bfb421e1e0450 100644 (file)
@@ -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);