(split_3): Add cast to placate irix4's cc. From Kaveh Ghazi.
authorJim Meyering <jim@meyering.net>
Sun, 26 Jul 1998 20:09:25 +0000 (20:09 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 26 Jul 1998 20:09:25 +0000 (20:09 +0000)
src/md5sum.c

index 5c8410e32a39ab264edb7404ae4e8478fcef7262..c889cc447d464d5bf66dbe7ee08b68e427b8528a 100644 (file)
@@ -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