Index: rpc_client/cli_lsarpc.c =================================================================== --- rpc_client/cli_lsarpc.c (revision 16642) +++ rpc_client/cli_lsarpc.c (working copy) @@ -280,7 +280,7 @@ const char **names, const char ***dom_names, DOM_SID **sids, - uint32 **types) + enum SID_NAME_USE **types) { prs_struct qbuf, rbuf; LSA_Q_LOOKUP_NAMES q; @@ -327,7 +327,7 @@ goto done; } - if (!((*types = TALLOC_ARRAY(mem_ctx, uint32, num_names)))) { + if (!((*types = TALLOC_ARRAY(mem_ctx, enum SID_NAME_USE, num_names)))) { DEBUG(0, ("cli_lsa_lookup_sids(): out of memory\n")); result = NT_STATUS_NO_MEMORY; goto done; @@ -363,7 +363,7 @@ sid_append_rid(sid, dom_rid); } - (*types)[i] = t_rids[i].type; + (*types)[i] = (enum SID_NAME_USE) t_rids[i].type; if (dom_names == NULL) { continue;