summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-05-05 14:36:55 -0700
committerJeremy Allison <jra@samba.org>2011-05-05 23:56:08 +0200
commitf85e095dd29638dcb4819f60a7239bc37e8a41ca (patch)
treec70e7a3229463d2af4a0a38a033145f46c1889bb /source3/rpcclient
parent02af3075858814811bc30f03623eb6715f9b7a78 (diff)
downloadsamba-f85e095dd29638dcb4819f60a7239bc37e8a41ca.tar.gz
samba-f85e095dd29638dcb4819f60a7239bc37e8a41ca.tar.bz2
samba-f85e095dd29638dcb4819f60a7239bc37e8a41ca.zip
More simple const fixups.
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index 727c9d1456..fdad158efe 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -295,7 +295,7 @@ static NTSTATUS get_domain_handle(struct rpc_pipe_client *cli,
status = dcerpc_samr_OpenDomain(b, mem_ctx,
connect_pol,
access_mask,
- CONST_DISCARD(struct dom_sid2 *, &global_sid_Builtin),
+ discard_const_p(struct dom_sid2, &global_sid_Builtin),
domain_pol,
&result);
}