summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko2008-05-18 22:28:26 +0000
committerDenis Vlasenko2008-05-18 22:28:26 +0000
commit5599502a550a7f892d4b73dceb2105a6916f83e6 (patch)
tree572ffa27892b1b24db86930044077dbb1565840f /coreutils
parente125a683a77d14401644d15f38b7f578db723924 (diff)
downloadbusybox-5599502a550a7f892d4b73dceb2105a6916f83e6.zip
busybox-5599502a550a7f892d4b73dceb2105a6916f83e6.tar.gz
more -Wall warning fixes. -Wall is enabled now.
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/cksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cksum.c b/coreutils/cksum.c
index 6512ccc..074d068 100644
--- a/coreutils/cksum.c
+++ b/coreutils/cksum.c
@@ -34,7 +34,7 @@ int cksum_main(int argc ATTRIBUTE_UNUSED, char **argv)
#define read_buf bb_common_bufsiz1
while ((bytes_read = safe_read(fd, read_buf, sizeof(read_buf))) > 0) {
- cp = read_buf;
+ cp = (uint8_t *) read_buf;
length += bytes_read;
do {
crc = (crc << 8) ^ crc32_table[(crc >> 24) ^ *cp++];