diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-09 18:07:15 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-09 18:07:15 +0000 |
commit | 023dc6798e05373bf33d64221bbe6a7265734c34 (patch) | |
tree | c111bcbb60f73790b29f7dd4f030f8c1e87b29a8 /coreutils/md5_sha1_sum.c | |
parent | 98636eb08c5ecc216e18970e11f7021206ac9b04 (diff) | |
download | busybox-w32-023dc6798e05373bf33d64221bbe6a7265734c34.tar.gz busybox-w32-023dc6798e05373bf33d64221bbe6a7265734c34.tar.bz2 busybox-w32-023dc6798e05373bf33d64221bbe6a7265734c34.zip |
fix warnings about pointer signedness
Diffstat (limited to 'coreutils/md5_sha1_sum.c')
-rw-r--r-- | coreutils/md5_sha1_sum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/md5_sha1_sum.c b/coreutils/md5_sha1_sum.c index 2e1c96459..c81619493 100644 --- a/coreutils/md5_sha1_sum.c +++ b/coreutils/md5_sha1_sum.c | |||
@@ -21,7 +21,7 @@ static unsigned char *hash_bin_to_hex(unsigned char *hash_value, | |||
21 | /* xzalloc zero-terminates */ | 21 | /* xzalloc zero-terminates */ |
22 | char *hex_value = xzalloc((hash_length * 2) + 1); | 22 | char *hex_value = xzalloc((hash_length * 2) + 1); |
23 | bin2hex(hex_value, (char*)hash_value, hash_length); | 23 | bin2hex(hex_value, (char*)hash_value, hash_length); |
24 | return hex_value; | 24 | return (unsigned char *)hex_value; |
25 | } | 25 | } |
26 | 26 | ||
27 | static uint8_t *hash_file(const char *filename, hash_algo_t hash_algo) | 27 | static uint8_t *hash_file(const char *filename, hash_algo_t hash_algo) |