Mercurial > dovecot > core-2.2
changeset 2630:1c8410c8f602 HEAD
compiler warning fixes
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 15 Sep 2004 16:23:22 +0300 |
parents | 6ba9dcff11b9 |
children | 519b768e5f2f |
files | src/auth/password-scheme-cram-md5.c src/lib/file-dotlock.c |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/password-scheme-cram-md5.c Wed Sep 15 16:20:16 2004 +0300 +++ b/src/auth/password-scheme-cram-md5.c Wed Sep 15 16:23:22 2004 +0300 @@ -10,7 +10,8 @@ struct hmac_md5_context ctx; unsigned char context_digest[32]; - hmac_md5_init(&ctx, plaintext, strlen(plaintext)); + hmac_md5_init(&ctx, (const unsigned char *)plaintext, + strlen(plaintext)); hmac_md5_get_cram_context(&ctx, context_digest); return binary_to_hex(context_digest, sizeof(context_digest)); }