diff options
author | Andreas Schneider <asn@samba.org> | 2010-08-13 15:56:49 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2010-08-17 11:44:49 +0200 |
commit | 1791d0533552d9070a72c7e4b827f6b6dd03fae4 (patch) | |
tree | 241edd4ed955faf14365cfe686dc886379815dc2 /source3/rpc_server/srv_samr_nt.c | |
parent | 5f1b12059949a37edd10a59e04ab44fa782cb5ee (diff) | |
download | samba-1791d0533552d9070a72c7e4b827f6b6dd03fae4.tar.gz samba-1791d0533552d9070a72c7e4b827f6b6dd03fae4.tar.bz2 samba-1791d0533552d9070a72c7e4b827f6b6dd03fae4.zip |
s3-samr: Fixed some build warnings.
Diffstat (limited to 'source3/rpc_server/srv_samr_nt.c')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index e101240dbe..a19be4ed7f 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -1795,7 +1795,7 @@ NTSTATUS _samr_LookupNames(struct pipes_struct *p, rids.ids = rid; types.count = num_rids; - types.ids = type; + types.ids = (uint32_t *) type; *r->out.rids = rids; *r->out.types = types; @@ -3413,7 +3413,7 @@ static NTSTATUS query_dom_info_2(TALLOC_CTX *mem_ctx, r->primary.string = global_myname(); r->sequence_num = seq_num; r->domain_server_state = DOMAIN_SERVER_ENABLED; - r->role = samr_get_server_role(); + r->role = (enum samr_Role) samr_get_server_role(); r->unknown3 = 1; return NT_STATUS_OK; @@ -3488,7 +3488,7 @@ static NTSTATUS query_dom_info_6(TALLOC_CTX *mem_ctx, static NTSTATUS query_dom_info_7(TALLOC_CTX *mem_ctx, struct samr_DomInfo7 *r) { - r->role = samr_get_server_role(); + r->role = (enum samr_Role) samr_get_server_role(); return NT_STATUS_OK; } |