aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-10-28 05:38:11 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-10-28 05:38:11 +0200
commit16cc80e9890c0409921b0463e5678649a893ae7f (patch)
tree231e30c01e4ee616c44e3183cdeca3813ddc4b65 /libbb
parentdb9ccc57728ccc7ca3c949437828e3d6d9d2dc5d (diff)
downloadbusybox-w32-16cc80e9890c0409921b0463e5678649a893ae7f.tar.gz
busybox-w32-16cc80e9890c0409921b0463e5678649a893ae7f.tar.bz2
busybox-w32-16cc80e9890c0409921b0463e5678649a893ae7f.zip
crc32: cleanups, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/crc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/crc32.c b/libbb/crc32.c
index 2cc6ea779..c63bf0772 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
59 const void *end = (uint8_t*)buf + len; 59 const void *end = (uint8_t*)buf + len;
60 60
61 while (buf != end) { 61 while (buf != end) {
62 val = crc_table [(uint8_t)val ^ *(uint8_t*)buf] ^ (val >> 8); 62 val = crc_table[(uint8_t)val ^ *(uint8_t*)buf] ^ (val >> 8);
63 buf = (uint8_t*)buf + 1; 63 buf = (uint8_t*)buf + 1;
64 } 64 }
65 return val; 65 return val;