diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-06-14 00:47:08 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-06-14 00:47:08 +0000 |
commit | baef1358d2b5a98a592f0247911a31d79148dcba (patch) | |
tree | f878164ca8d1526f723f25796a3ca2cef51a5d4f /source3/rpc_server | |
parent | d179b191794c06626375692ea81c1931db57f550 (diff) | |
download | samba-baef1358d2b5a98a592f0247911a31d79148dcba.tar.gz samba-baef1358d2b5a98a592f0247911a31d79148dcba.tar.bz2 samba-baef1358d2b5a98a592f0247911a31d79148dcba.zip |
Add const, kill of useless casts and therefore eliminate warnings.
Andrew Bartlett
(This used to be commit 29490f214750acd44cee6c4ab1354722d82d853a)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index a6f936feca..94be26b16c 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -2020,7 +2020,7 @@ NTSTATUS _api_samr_create_user(pipes_struct *p, SAMR_Q_CREATE_USER *q_u, SAMR_R_ } /* Get the user's SID */ - sid_copy(&sid, (DOM_SID *) pdb_get_user_sid(sam_pass)); + sid_copy(&sid, pdb_get_user_sid(sam_pass)); /* associate the user's SID with the new handle. */ if ((info = get_samr_info_by_sid(&sid)) == NULL) { |