summaryrefslogtreecommitdiffstats
path: root/source/client/client.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-07-30 19:17:51 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-07-30 19:17:51 +0000
commit9fbca2594ba775450d5dca13cbce257b4362ca66 (patch)
treea4d4c8a185359514e321a26cb231bcf5441fc4fe /source/client/client.c
parent632bf0dab06bccd082a9fc64a62ff7c99982d2b6 (diff)
downloadsamba-9fbca2594ba775450d5dca13cbce257b4362ca66.tar.gz
samba-9fbca2594ba775450d5dca13cbce257b4362ca66.tar.xz
samba-9fbca2594ba775450d5dca13cbce257b4362ca66.zip
client.c: Minor change to cast parameters for DEC unix.
clientutil.c: Minor change to cast parameters for DEC unix. ipc.c: Fixes to parameterise the stuff John wants. loadparm.c: Fixes to parameterise the stuff John wants. nameannounce.c: Fixes to parameterise the stuff John wants. namedbwork.c: Fixes to parameterise the stuff John wants. nameserv.h: Fixes to parameterise the stuff John wants. proto.h: Fixes to parameterise the stuff John wants. smb.h: Fixes to parameterise the stuff John wants. util.c: tidy. Jeremy (jallison@whistle.com)
Diffstat (limited to 'source/client/client.c')
-rw-r--r--source/client/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/client/client.c b/source/client/client.c
index 49804270e9e..f9585c6de59 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -3311,7 +3311,7 @@ static BOOL send_login(char *inbuf,char *outbuf,BOOL start_session,BOOL use_setu
if (doencrypt && *pass) {
DEBUG(3,("Using encrypted passwords\n"));
passlen = 24;
- SMBencrypt(pass,cryptkey,pword);
+ SMBencrypt((uchar *)pass,(uchar *)cryptkey,(uchar *)pword);
}
#else
doencrypt = False;
@@ -3429,7 +3429,7 @@ static BOOL send_login(char *inbuf,char *outbuf,BOOL start_session,BOOL use_setu
#ifdef SMB_PASSWD
if (doencrypt && *pass) {
passlen=24;
- SMBencrypt(pass,cryptkey,pword);
+ SMBencrypt((uchar *)pass,(uchar *)cryptkey,(uchar *)pword);
}
#endif