diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-09-16 08:26:33 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-09-16 08:26:33 +0000 |
commit | e712c6ed61abeae5ec2acf99f109ad81e7a19978 (patch) | |
tree | 93bb9e674622c34b06a5eafa2e1a3fbc93256a49 | |
parent | 35b92e725f351c9a9f2846a6b55f71c234f187c7 (diff) | |
download | samba-e712c6ed61abeae5ec2acf99f109ad81e7a19978.tar.gz samba-e712c6ed61abeae5ec2acf99f109ad81e7a19978.tar.xz samba-e712c6ed61abeae5ec2acf99f109ad81e7a19978.zip |
add a cast
-rw-r--r-- | source/smbd/password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/password.c b/source/smbd/password.c index 7b581d12895..35f73eab2d1 100644 --- a/source/smbd/password.c +++ b/source/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); |