diff options
Diffstat (limited to 'source4/winbind/wb_cmd_userdomgroups.c')
-rw-r--r-- | source4/winbind/wb_cmd_userdomgroups.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/winbind/wb_cmd_userdomgroups.c b/source4/winbind/wb_cmd_userdomgroups.c index 649fe489cc..c1258a94d2 100644 --- a/source4/winbind/wb_cmd_userdomgroups.c +++ b/source4/winbind/wb_cmd_userdomgroups.c @@ -30,7 +30,7 @@ struct cmd_userdomgroups_state { struct composite_context *ctx; struct dom_sid *dom_sid; uint32_t user_rid; - int num_rids; + uint32_t num_rids; uint32_t *rids; }; @@ -104,12 +104,12 @@ static void userdomgroups_recv_rids(struct composite_context *ctx) NTSTATUS wb_cmd_userdomgroups_recv(struct composite_context *c, TALLOC_CTX *mem_ctx, - int *num_sids, struct dom_sid ***sids) + uint32_t *num_sids, struct dom_sid ***sids) { struct cmd_userdomgroups_state *state = talloc_get_type(c->private_data, struct cmd_userdomgroups_state); - int i; + uint32_t i; NTSTATUS status; status = composite_wait(c); @@ -139,7 +139,7 @@ done: NTSTATUS wb_cmd_userdomgroups(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_userdomgroups_send(mem_ctx, service, sid); |