summaryrefslogtreecommitdiffstats
path: root/source/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
commit29490f214750acd44cee6c4ab1354722d82d853a (patch)
tree362c3b583702610e172722c4c7e2aee5ac72930c /source/rpc_server
parentaa0a6f5532a2689409426eef9a4b66a28fb97635 (diff)
downloadsamba-29490f214750acd44cee6c4ab1354722d82d853a.tar.gz
samba-29490f214750acd44cee6c4ab1354722d82d853a.tar.xz
samba-29490f214750acd44cee6c4ab1354722d82d853a.zip
Add const, kill of useless casts and therefore eliminate warnings.
Andrew Bartlett
Diffstat (limited to 'source/rpc_server')
-rw-r--r--source/rpc_server/srv_samr_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_server/srv_samr_nt.c b/source/rpc_server/srv_samr_nt.c
index a6f936fecaf..94be26b16cf 100644
--- a/source/rpc_server/srv_samr_nt.c
+++ b/source/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) {