summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_cmd_usersids.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-09 17:54:12 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-09 17:54:12 +0100
commit2ee3cca4ffd60d091ca5fe8035f90969f6b91cc4 (patch)
tree7a6ae2714355979140b7f20badb9c56545c8a730 /source4/winbind/wb_cmd_usersids.c
parent1310eba9705d6c49ec36555f546c4b99174ee695 (diff)
downloadsamba-2ee3cca4ffd60d091ca5fe8035f90969f6b91cc4.tar.gz
samba-2ee3cca4ffd60d091ca5fe8035f90969f6b91cc4.tar.bz2
samba-2ee3cca4ffd60d091ca5fe8035f90969f6b91cc4.zip
s4:winbind - use "unsigned" variables where possible
Diffstat (limited to 'source4/winbind/wb_cmd_usersids.c')
-rw-r--r--source4/winbind/wb_cmd_usersids.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/winbind/wb_cmd_usersids.c b/source4/winbind/wb_cmd_usersids.c
index cc541ef6e5..c062d362b4 100644
--- a/source4/winbind/wb_cmd_usersids.c
+++ b/source4/winbind/wb_cmd_usersids.c
@@ -34,14 +34,14 @@ struct cmd_usersids_state {
struct composite_context *ctx;
struct wbsrv_service *service;
struct dom_sid *user_sid;
- int num_domgroups;
+ uint32_t num_domgroups;
struct dom_sid **domgroups;
struct lsa_SidArray lsa_sids;
struct samr_Ids rids;
struct samr_GetAliasMembership r;
- int num_sids;
+ uint32_t num_sids;
struct dom_sid **sids;
};
@@ -104,7 +104,7 @@ static void usersids_recv_domain(struct composite_context *ctx)
struct cmd_usersids_state);
struct rpc_request *req;
struct wbsrv_domain *domain;
- int i;
+ uint32_t i;
state->ctx->status = wb_sid2domain_recv(ctx, &domain);
if (!composite_is_ok(state->ctx)) return;
@@ -136,7 +136,7 @@ static void usersids_recv_aliases(struct rpc_request *req)
struct cmd_usersids_state *state =
talloc_get_type(req->async.private_data,
struct cmd_usersids_state);
- int i;
+ uint32_t i;
state->ctx->status = dcerpc_samr_GetAliasMembership_recv(req);
if (!composite_is_ok(state->ctx)) return;
@@ -168,7 +168,7 @@ static void usersids_recv_aliases(struct rpc_request *req)
NTSTATUS wb_cmd_usersids_recv(struct composite_context *ctx,
TALLOC_CTX *mem_ctx,
- int *num_sids, struct dom_sid ***sids)
+ uint32_t *num_sids, struct dom_sid ***sids)
{
NTSTATUS status = composite_wait(ctx);
if (NT_STATUS_IS_OK(status)) {
@@ -184,7 +184,7 @@ NTSTATUS wb_cmd_usersids_recv(struct composite_context *ctx,
NTSTATUS wb_cmd_usersids(TALLOC_CTX *mem_ctx, struct wbsrv_service *service,
const struct dom_sid *sid,
- int *num_sids, struct dom_sid ***sids)
+ uint32_t *num_sids, struct dom_sid ***sids)
{
struct composite_context *c =
wb_cmd_usersids_send(mem_ctx, service, sid);