summaryrefslogtreecommitdiffstats
path: root/source/lib/genrand.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-05-05 19:24:32 +0000
committerJeremy Allison <jra@samba.org>1998-05-05 19:24:32 +0000
commit567d3f838988cafab4770fce1cf68b73085e6c71 (patch)
tree9499e082bad6845cdb46bfa1b9298a9d1c3c1bae /source/lib/genrand.c
parent228a2a0507494e0b13ed5c74488607811da20140 (diff)
downloadsamba-567d3f838988cafab4770fce1cf68b73085e6c71.tar.gz
samba-567d3f838988cafab4770fce1cf68b73085e6c71.tar.xz
samba-567d3f838988cafab4770fce1cf68b73085e6c71.zip
genrand.c: SGI compile warning fix.
ipc.c: Fix for duplicate printer names being long. loadparm.c: Set bNetWkstaUserLogon to false by default - new code in password.c protects us. nmbd_logonnames.c: nmbd_namequery.c: nmbd_namerelease.c: Debug messages fix. password.c: SGI compile warning fix, fix for tcon() with bNetWkstaUserLogon call. reply.c: SGI compile warning fix. server.c Debug messages fix. smbpass.c: Fix for incorrect pointer. Jeremy.
Diffstat (limited to 'source/lib/genrand.c')
-rw-r--r--source/lib/genrand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/genrand.c b/source/lib/genrand.c
index 3eae47486fd..b09f683e62d 100644
--- a/source/lib/genrand.c
+++ b/source/lib/genrand.c
@@ -151,7 +151,7 @@ static uint32 do_reseed(unsigned char *md4_outbuf)
if (pw && pw->pw_passwd) {
int i;
unsigned char md4_tmp[16];
- mdfour(md4_tmp, pw->pw_passwd, strlen(pw->pw_passwd));
+ mdfour(md4_tmp, (unsigned char *)pw->pw_passwd, strlen(pw->pw_passwd));
for (i=0;i<16;i++)
md4_inbuf[8+i] ^= md4_tmp[i];
}