summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2001-10-23 20:39:38 +0000
committerHerb Lewis <herb@samba.org>2001-10-23 20:39:38 +0000
commitb8fe0f6711977412f8a7103022b01f3428d9c3a0 (patch)
tree3786997930c8a49b9b92acff37df213919b151f9 /source3/libsmb
parent9e9b503024ba71fee9af40c8953b24d1632ce25a (diff)
downloadsamba-b8fe0f6711977412f8a7103022b01f3428d9c3a0.tar.gz
samba-b8fe0f6711977412f8a7103022b01f3428d9c3a0.tar.bz2
samba-b8fe0f6711977412f8a7103022b01f3428d9c3a0.zip
more compiler warnings
(This used to be commit 12c10e876ea528fdf33e8ecfe42ab0ebb346b143)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cliconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 2dad0247b2..680f30900e 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -460,8 +460,8 @@ static BOOL cli_session_setup_ntlmssp(struct cli_state *cli, char *user,
/* encrypt the password with the challenge */
memcpy(challenge, chal1.data + 24, 8);
- SMBencrypt(pass, challenge,lmhash);
- SMBNTencrypt(pass, challenge,nthash);
+ SMBencrypt((unsigned char *)pass, challenge,lmhash);
+ SMBNTencrypt((unsigned char *)pass, challenge,nthash);
#if 0
file_save("nthash.dat", nthash, 24);