From cda707f9176c2bb433b5cc4968a9617005f8dc00 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 16 Sep 1997 08:26:33 +0000 Subject: add a cast (This used to be commit e712c6ed61abeae5ec2acf99f109ad81e7a19978) --- source3/smbd/password.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/password.c b/source3/smbd/password.c index 7b581d1289..35f73eab2d 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -58,7 +58,7 @@ void generate_next_challenge(char *challenge) SIVAL(challenge,4,v2); /* mash it up with md4 */ - mdfour(buf, challenge, 8); + mdfour(buf, (unsigned char *)challenge, 8); memcpy(saved_challenge, buf, 8); memcpy(challenge,buf,8); -- cgit