add a cast
authorAndrew Tridgell <tridge@samba.org>
Tue, 16 Sep 1997 08:26:33 +0000 (08:26 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 16 Sep 1997 08:26:33 +0000 (08:26 +0000)
(This used to be commit e712c6ed61abeae5ec2acf99f109ad81e7a19978)

source3/smbd/password.c

index 7b581d128959baf75d52af8c3ab15c05d36275ac..35f73eab2d1712a915b5329794dab6e78b22015c 100644 (file)
@@ -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);