summaryrefslogtreecommitdiffstats
path: root/source3/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
commit717533483b41ef975953f58e0c6be04828a3d467 (patch)
tree1eba76475bd03c51e9d2d2f840634517297d0024 /source3/smbd/reply.c
parentb9e7eeaf4fc13fb9e2dbee69e07bc6800f6e427a (diff)
downloadsamba-717533483b41ef975953f58e0c6be04828a3d467.tar.gz
samba-717533483b41ef975953f58e0c6be04828a3d467.tar.xz
samba-717533483b41ef975953f58e0c6be04828a3d467.zip
get rid of compiler warnings
(This used to be commit 0768991d04ea03e774ca8662c9cae5e1951b88e0)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index fca16a2f044..02531bd1cdd 100644
--- a/source3/smbd/reply.c
+++ b/source3/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