From 1bd4735d8727baa55e3fd251b0f1d5efef4d1385 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Mon, 12 Apr 2010 14:34:28 +0200 Subject: s4:auth/auth_sam_reply.c - fix counter types --- source4/auth/auth_sam_reply.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/auth') diff --git a/source4/auth/auth_sam_reply.c b/source4/auth/auth_sam_reply.c index 88eb857eb3..6cca5e640b 100644 --- a/source4/auth/auth_sam_reply.c +++ b/source4/auth/auth_sam_reply.c @@ -60,7 +60,7 @@ NTSTATUS auth_convert_server_info_sambaseinfo(TALLOC_CTX *mem_ctx, sam->groups.rids = NULL; if (server_info->n_domain_groups > 0) { - int i; + size_t i; sam->groups.rids = talloc_array(sam, struct samr_RidWithAttribute, server_info->n_domain_groups); @@ -112,7 +112,7 @@ NTSTATUS auth_convert_server_info_saminfo3(TALLOC_CTX *mem_ctx, struct netr_SamBaseInfo *sam; struct netr_SamInfo3 *sam3 = talloc_zero(mem_ctx, struct netr_SamInfo3); NTSTATUS status; - int i; + size_t i; NT_STATUS_HAVE_NO_MEMORY(sam3); status = auth_convert_server_info_sambaseinfo(mem_ctx, server_info, &sam); @@ -158,7 +158,7 @@ NTSTATUS make_server_info_netlogon_validation(TALLOC_CTX *mem_ctx, { struct auth_serversupplied_info *server_info; struct netr_SamBaseInfo *base = NULL; - int i; + uint32_t i; switch (validation_level) { case 2: -- cgit