summaryrefslogtreecommitdiff
path: root/src/md5sum.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-26 20:09:25 +0000
committerJim Meyering <jim@meyering.net>1998-07-26 20:09:25 +0000
commitbd85887dafbfb2bf5d64ee9e47d33cf6e8accc3f (patch)
tree1267aeb2dcd92c85b142f30c5b532ba96dea4cac /src/md5sum.c
parent82988e97cfc8ed20db16723c66191896a0b32f4f (diff)
downloadcoreutils-bd85887dafbfb2bf5d64ee9e47d33cf6e8accc3f.tar.xz
(split_3): Add cast to placate irix4's cc. From Kaveh Ghazi.
Diffstat (limited to 'src/md5sum.c')
-rw-r--r--src/md5sum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/md5sum.c b/src/md5sum.c
index 5c8410e32..c889cc447 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -152,7 +152,7 @@ split_3 (char *s, size_t s_len, unsigned char **u, int *binary, char **w)
++i;
filename_has_newline = 1;
}
- *u = &s[i];
+ *u = (unsigned char *) &s[i];
/* The first field has to be the 32-character hexadecimal
representation of the message digest. If it is not followed