summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-06-14 00:47:08 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-06-14 00:47:08 +0000
commitbaef1358d2b5a98a592f0247911a31d79148dcba (patch)
treef878164ca8d1526f723f25796a3ca2cef51a5d4f /source3/rpc_server
parentd179b191794c06626375692ea81c1931db57f550 (diff)
downloadsamba-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.c2
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) {