diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-18 22:28:26 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-18 22:28:26 +0000 |
commit | 5599502a550a7f892d4b73dceb2105a6916f83e6 (patch) | |
tree | 572ffa27892b1b24db86930044077dbb1565840f /coreutils/cksum.c | |
parent | e125a683a77d14401644d15f38b7f578db723924 (diff) | |
download | busybox-w32-5599502a550a7f892d4b73dceb2105a6916f83e6.tar.gz busybox-w32-5599502a550a7f892d4b73dceb2105a6916f83e6.tar.bz2 busybox-w32-5599502a550a7f892d4b73dceb2105a6916f83e6.zip |
more -Wall warning fixes. -Wall is enabled now.
Diffstat (limited to 'coreutils/cksum.c')
-rw-r--r-- | coreutils/cksum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cksum.c b/coreutils/cksum.c index 6512ccc17..074d06811 100644 --- a/coreutils/cksum.c +++ b/coreutils/cksum.c | |||
@@ -34,7 +34,7 @@ int cksum_main(int argc ATTRIBUTE_UNUSED, char **argv) | |||
34 | 34 | ||
35 | #define read_buf bb_common_bufsiz1 | 35 | #define read_buf bb_common_bufsiz1 |
36 | while ((bytes_read = safe_read(fd, read_buf, sizeof(read_buf))) > 0) { | 36 | while ((bytes_read = safe_read(fd, read_buf, sizeof(read_buf))) > 0) { |
37 | cp = read_buf; | 37 | cp = (uint8_t *) read_buf; |
38 | length += bytes_read; | 38 | length += bytes_read; |
39 | do { | 39 | do { |
40 | crc = (crc << 8) ^ crc32_table[(crc >> 24) ^ *cp++]; | 40 | crc = (crc << 8) ^ crc32_table[(crc >> 24) ^ *cp++]; |