diff options
author | Tim Potter <tpot@samba.org> | 2003-02-21 04:47:24 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-02-21 04:47:24 +0000 |
commit | 9383d61f6c61ba8600ec73d22bd6f048c55a5261 (patch) | |
tree | 3c0b5dbf834bc5131acc5d1c212787284c347c69 | |
parent | 696895d5b1c7749e7efa512330a970bbda74edab (diff) | |
download | samba-9383d61f6c61ba8600ec73d22bd6f048c55a5261.tar.gz samba-9383d61f6c61ba8600ec73d22bd6f048c55a5261.tar.bz2 samba-9383d61f6c61ba8600ec73d22bd6f048c55a5261.zip |
Fixed compiler warning.
(This used to be commit b3f9cf8c1c293e905a536dfa5bb6a827627b7024)
-rw-r--r-- | source3/rpc_server/srv_lsa_nt.c | 2 | ||||
-rw-r--r-- | source3/smbd/sesssetup.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c index b230381d62..1b42c5f141 100644 --- a/source3/rpc_server/srv_lsa_nt.c +++ b/source3/rpc_server/srv_lsa_nt.c @@ -1280,7 +1280,7 @@ NTSTATUS _lsa_enum_acct_rights(pipes_struct *p, LSA_Q_ENUM_ACCT_RIGHTS *q_u, LSA r_u->status = privilege_enum_account_rights(&q_u->sid.sid, &num_rights, &rights); - init_r_enum_acct_rights(r_u, num_rights, rights); + init_r_enum_acct_rights(r_u, num_rights, (const char **)rights); for (i=0;i<num_rights;i++) { free(rights[i]); diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 3a3209f172..eafe805aba 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -463,7 +463,6 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf, extern BOOL global_encrypted_passwords_negotiated; extern BOOL global_spnego_negotiated; extern int Protocol; - extern userdom_struct current_user_info; extern int max_send; auth_usersupplied_info *user_info = NULL; |