summaryrefslogtreecommitdiff
path: root/source3/smbd/sesssetup.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2001-10-23 19:10:30 +0000
committerHerb Lewis <herb@samba.org>2001-10-23 19:10:30 +0000
commit3ea349271355b39f7b877ce67530cc58e7db0ee8 (patch)
tree3e5c5c112cb3aa8386b3e08bbdd444953a6ebd52 /source3/smbd/sesssetup.c
parent2a2cccabca40af0d713a4541b4ccba0a3d97496c (diff)
downloadsamba-3ea349271355b39f7b877ce67530cc58e7db0ee8.tar.gz
samba-3ea349271355b39f7b877ce67530cc58e7db0ee8.tar.bz2
samba-3ea349271355b39f7b877ce67530cc58e7db0ee8.zip
get rid of compiler warnings (casts and delete unused variables)
(This used to be commit 51cb4411df61d1caec9d84809b1a53a6a632f808)
Diffstat (limited to 'source3/smbd/sesssetup.c')
-rw-r--r--source3/smbd/sesssetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index fc6c694d9f..5412cc3bad 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -420,7 +420,7 @@ static int reply_sesssetup_and_X_spnego(connection_struct *conn, char *inbuf,cha
global_client_caps = IVAL(inbuf,smb_vwv10);
}
- p = smb_buf(inbuf);
+ p = (uint8 *)smb_buf(inbuf);
if (SVAL(inbuf, smb_vwv7) == 0) {
/* an anonymous request */