summaryrefslogtreecommitdiffstats
path: root/source/smbd/reply.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2001-08-24 20:32:01 +0000
committerHerb Lewis <herb@samba.org>2001-08-24 20:32:01 +0000
commit0768991d04ea03e774ca8662c9cae5e1951b88e0 (patch)
treeaa9fba2c42010016abc7bc10f0f98d42774e9987 /source/smbd/reply.c
parent031a19639ce862bd01c1a72d8b5ff21b0eae99d2 (diff)
downloadsamba-0768991d04ea03e774ca8662c9cae5e1951b88e0.tar.gz
samba-0768991d04ea03e774ca8662c9cae5e1951b88e0.tar.xz
samba-0768991d04ea03e774ca8662c9cae5e1951b88e0.zip
get rid of compiler warnings
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r--source/smbd/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index fca16a2f044..02531bd1cdd 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -812,8 +812,8 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int
if (!guest) {
valid_password = (pass_check_smb(user, domain,
- smb_apasswd, smb_apasslen,
- smb_ntpasswd, smb_ntpasslen) == NT_STATUS_NOPROBLEMO);
+ (unsigned char *)smb_apasswd, smb_apasslen,
+ (unsigned char *)smb_ntpasswd, smb_ntpasslen) == NT_STATUS_NOPROBLEMO);
/* The true branch will be executed if
(1) the NT password failed (or was not tried), and