summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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);