From c3e52ea6ca3178b7ecab4b389a9ba9269662b48f Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 15 Mar 2006 17:05:25 +0000 Subject: Further cleanups to compile with C++ compiler. svn path=/branches/BRANCH_6-3/; revision=4744 --- smbutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'smbutil.c') diff --git a/smbutil.c b/smbutil.c index 74bd5ba2..aa50ed09 100644 --- a/smbutil.c +++ b/smbutil.c @@ -197,8 +197,8 @@ void buildSmbNtlmAuthResponse(tSmbNtlmAuthChallenge *challenge, tSmbNtlmAuthResp *p = '\0'; } - SMBencrypt(password, challenge->challengeData, lmRespData); - SMBNTencrypt(password, challenge->challengeData, ntRespData); + SMBencrypt((uint8*)password, challenge->challengeData, lmRespData); + SMBNTencrypt((uint8*)password, challenge->challengeData, ntRespData); response->bufIndex = 0; memcpy(response->ident,"NTLMSSP\0\0\0",8); -- cgit v1.2.3