summaryrefslogtreecommitdiff
path: root/source3/smbd/password.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-09-16 08:26:33 +0000
committerAndrew Tridgell <tridge@samba.org>1997-09-16 08:26:33 +0000
commitcda707f9176c2bb433b5cc4968a9617005f8dc00 (patch)
treee920bc360662e82d619ee038d165e3886c54bd96 /source3/smbd/password.c
parent57c2578cb2b7e02acc6c04d07adc11a77c40aa9c (diff)
downloadsamba-cda707f9176c2bb433b5cc4968a9617005f8dc00.tar.gz
samba-cda707f9176c2bb433b5cc4968a9617005f8dc00.tar.bz2
samba-cda707f9176c2bb433b5cc4968a9617005f8dc00.zip
add a cast
(This used to be commit e712c6ed61abeae5ec2acf99f109ad81e7a19978)
Diffstat (limited to 'source3/smbd/password.c')
-rw-r--r--source3/smbd/password.c2
1 files changed, 1 insertions, 1 deletions
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);