projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tar: support -T - and -X -
[oweals/busybox.git]
/
libbb
/
crc32.c
diff --git
a/libbb/crc32.c
b/libbb/crc32.c
index c63bf07720582b6e306407fdf73b20983822bdb3..ac9836cc9e61b185e08687e75c73c380fc751762 100644
(file)
--- 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;