summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-20 22:03:45 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-20 22:33:01 +0200
commit2f49c8f58e213e4b8b3f60bb6e02dfc833bb27f3 (patch)
tree6d96137e2cf073ece4b5892eff6be95760b8e40e /source4/rpc_server
parent871cdec4141e29f377b11fa7a5c177ac7e2dae80 (diff)
downloadsamba-2f49c8f58e213e4b8b3f60bb6e02dfc833bb27f3.tar.gz
samba-2f49c8f58e213e4b8b3f60bb6e02dfc833bb27f3.tar.bz2
samba-2f49c8f58e213e4b8b3f60bb6e02dfc833bb27f3.zip
s4:samr RPC server - fix Solaris build warning
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/samr/dcesrv_samr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c
index 6b694ed170..60109c29f7 100644
--- a/source4/rpc_server/samr/dcesrv_samr.c
+++ b/source4/rpc_server/samr/dcesrv_samr.c
@@ -1687,7 +1687,7 @@ static NTSTATUS dcesrv_samr_LookupRids(struct dcesrv_call_state *dce_call, TALLO
struct samr_domain_state *d_state;
const char **names;
struct lsa_String *lsa_names;
- uint32_t *ids;
+ enum lsa_SidType *ids;
ZERO_STRUCTP(r->out.names);
ZERO_STRUCTP(r->out.types);
@@ -1701,7 +1701,7 @@ static NTSTATUS dcesrv_samr_LookupRids(struct dcesrv_call_state *dce_call, TALLO
lsa_names = talloc_zero_array(mem_ctx, struct lsa_String, r->in.num_rids);
names = talloc_zero_array(mem_ctx, const char *, r->in.num_rids);
- ids = talloc_zero_array(mem_ctx, uint32_t, r->in.num_rids);
+ ids = talloc_zero_array(mem_ctx, enum lsa_SidType, r->in.num_rids);
if ((lsa_names == NULL) || (names == NULL) || (ids == NULL))
return NT_STATUS_NO_MEMORY;
@@ -1709,7 +1709,7 @@ static NTSTATUS dcesrv_samr_LookupRids(struct dcesrv_call_state *dce_call, TALLO
r->out.names->names = lsa_names;
r->out.names->count = r->in.num_rids;
- r->out.types->ids = ids;
+ r->out.types->ids = (uint32_t *) ids;
r->out.types->count = r->in.num_rids;
status = dsdb_lookup_rids(d_state->sam_ctx, mem_ctx, d_state->domain_sid,