diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-16 17:44:20 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-16 17:44:20 +0000 |
commit | 7f53da19c11c141d4d4d24417b3a72bbaf755d2c (patch) | |
tree | 007d2e654f7912896e1b7af7669b71fda68d16d1 /crypt | |
parent | ca41028b16eab254278ae8ed6b0a0998ea21d0c7 (diff) | |
download | glibc-7f53da19c11c141d4d4d24417b3a72bbaf755d2c.tar.gz |
Update.
2000-07-16 Ulrich Drepper <drepper@redhat.com>
* crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
parameters of memset calls to avoid warnings.
* stdlib/Makefile: Rewrite rules to avoid running isomac unless
necessary.
* iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
Diffstat (limited to 'crypt')
-rw-r--r-- | crypt/md5-crypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypt/md5-crypt.c b/crypt/md5-crypt.c index 6340502193..c842be503c 100644 --- a/crypt/md5-crypt.c +++ b/crypt/md5-crypt.c @@ -226,9 +226,9 @@ __md5_crypt_r (key, salt, buffer, buflen) memset (&ctx, '\0', sizeof (ctx)); memset (&alt_ctx, '\0', sizeof (alt_ctx)); if (key_copied) - memset (key, '\0', key_len); + memset ((char *) key, '\0', key_len); if (salt_copied) - memset (salt, '\0', salt_len); + memset ((char *) salt, '\0', salt_len); return buffer; } |