From: Jim Meyering Date: Sun, 26 Jul 1998 20:09:25 +0000 (+0000) Subject: (split_3): Add cast to placate irix4's cc. From Kaveh Ghazi. X-Git-Tag: FILEUTILS-3_16t~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd85887dafbfb2bf5d64ee9e47d33cf6e8accc3f;p=thirdparty%2Fcoreutils.git (split_3): Add cast to placate irix4's cc. From Kaveh Ghazi. --- diff --git a/src/md5sum.c b/src/md5sum.c index 5c8410e32a..c889cc447d 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