diff options
author | Jim Meyering <jim@meyering.net> | 1998-04-26 15:28:06 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-04-26 15:28:06 +0000 |
commit | d73844985876d4946fc15256fc668197b5c80b9e (patch) | |
tree | 42d0fbac1f089144f8ca05982eed98680696cf78 /src/md5sum.c | |
parent | 7254d243f2413cba81959871793ab2def370f747 (diff) | |
download | coreutils-d73844985876d4946fc15256fc668197b5c80b9e.tar.xz |
(md5_check): Declare local, `md5num' as _unsigned_ char*.
(hex_digits): Declare parameter `s' as _unsigned_ char*.
(split_3): Declare parameter `u' as _unsigned_ char**.
Diffstat (limited to 'src/md5sum.c')
-rw-r--r-- | src/md5sum.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/md5sum.c b/src/md5sum.c index 1700563fd..5c8410e32 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -129,7 +129,7 @@ text), and name for each FILE.\n"), } static int -split_3 (char *s, size_t s_len, char **u, int *binary, char **w) +split_3 (char *s, size_t s_len, unsigned char **u, int *binary, char **w) { size_t i; int filename_has_newline = 0; @@ -219,7 +219,7 @@ split_3 (char *s, size_t s_len, char **u, int *binary, char **w) } static int -hex_digits (const char *s) +hex_digits (unsigned char const *s) { while (*s) { @@ -312,7 +312,7 @@ md5_check (const char *checkfile_name) { char *filename; int binary; - char *md5num; + unsigned char *md5num; int err; int line_length; |