diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-03-15 10:26:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:57:24 -0500 |
commit | 568e77ed23c64b70142317320ebde2c36e976d94 (patch) | |
tree | 1181c27bd0811d722dc304fe1270c24eb008fc7e /source4 | |
parent | 72017b0183f2d0a10d890fe3f6e509d297058c69 (diff) | |
download | samba-568e77ed23c64b70142317320ebde2c36e976d94.tar.gz samba-568e77ed23c64b70142317320ebde2c36e976d94.tar.bz2 samba-568e77ed23c64b70142317320ebde2c36e976d94.zip |
r14438: fix warnings
metze
(This used to be commit 83d2978da1fbf756a665afc2e8120436dc45ec56)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/samr/dcesrv_samr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c index 156cf931fe..fde691bea0 100644 --- a/source4/rpc_server/samr/dcesrv_samr.c +++ b/source4/rpc_server/samr/dcesrv_samr.c @@ -1906,7 +1906,7 @@ static NTSTATUS samr_QueryGroupMember(struct dcesrv_call_state *dce_call, TALLOC struct ldb_message **res2; const char * const attrs2[2] = { "objectSid", NULL }; ret = gendb_search_dn(a_state->sam_ctx, mem_ctx, - ldb_dn_explode(mem_ctx, el->values[i].data), + ldb_dn_explode(mem_ctx, (const char *)el->values[i].data), &res2, attrs2); if (ret != 1) return NT_STATUS_INTERNAL_DB_CORRUPTION; @@ -2344,7 +2344,7 @@ static NTSTATUS samr_GetMembersInAlias(struct dcesrv_call_state *dce_call, TALLO struct ldb_message **msgs2; const char * const attrs2[2] = { "objectSid", NULL }; ret = gendb_search_dn(a_state->sam_ctx, mem_ctx, - ldb_dn_explode(mem_ctx, el->values[i].data), + ldb_dn_explode(mem_ctx, (const char *)el->values[i].data), &msgs2, attrs2); if (ret != 1) return NT_STATUS_INTERNAL_DB_CORRUPTION; |