diff options
author | Gerald Carter <jerry@samba.org> | 2007-02-01 15:22:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:39 -0500 |
commit | 6b754f7c96400d5d1f14e807aac0aa925c45eefb (patch) | |
tree | f3c424329e76eacf68cdd6f56fda3a6d426219ae /source | |
parent | c3a44d8b9606fc516faceb69b8e87bfc8be312f3 (diff) | |
download | samba-6b754f7c96400d5d1f14e807aac0aa925c45eefb.tar.gz samba-6b754f7c96400d5d1f14e807aac0aa925c45eefb.tar.xz samba-6b754f7c96400d5d1f14e807aac0aa925c45eefb.zip |
r21112: fix const compile warning
Diffstat (limited to 'source')
-rw-r--r-- | source/nsswitch/winbindd_rpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nsswitch/winbindd_rpc.c b/source/nsswitch/winbindd_rpc.c index 6e6add20098..13a2174a265 100644 --- a/source/nsswitch/winbindd_rpc.c +++ b/source/nsswitch/winbindd_rpc.c @@ -246,7 +246,7 @@ NTSTATUS msrpc_name_to_sid(struct winbindd_domain *domain, NTSTATUS result; DOM_SID *sids = NULL; enum lsa_SidType *types = NULL; - char *full_name; + char *full_name = NULL; struct rpc_pipe_client *cli; POLICY_HND lsa_policy; @@ -271,7 +271,7 @@ NTSTATUS msrpc_name_to_sid(struct winbindd_domain *domain, return result; result = rpccli_lsa_lookup_names(cli, mem_ctx, &lsa_policy, 1, - &full_name, NULL, &sids, &types); + (const char**) &full_name, NULL, &sids, &types); if (!NT_STATUS_IS_OK(result)) return result; |