diff options
Diffstat (limited to 'libbb/crc32.c')
-rw-r--r-- | libbb/crc32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/crc32.c b/libbb/crc32.c index 2cc6ea7..c63bf07 100644 --- a/libbb/crc32.c +++ b/libbb/crc32.c @@ -59,7 +59,7 @@ uint32_t FAST_FUNC crc32_block_endian0(uint32_t val, const void *buf, unsigned l const void *end = (uint8_t*)buf + len; while (buf != end) { - val = crc_table [(uint8_t)val ^ *(uint8_t*)buf] ^ (val >> 8); + val = crc_table[(uint8_t)val ^ *(uint8_t*)buf] ^ (val >> 8); buf = (uint8_t*)buf + 1; } return val; |