summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-12 14:34:28 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-12 18:49:01 +0200
commit1bd4735d8727baa55e3fd251b0f1d5efef4d1385 (patch)
tree0d0f640b8e85cd5af238d839fe95c305532fa910 /source4
parent98ce053efdf8f28aa0480663c0094fc9ca8939e1 (diff)
downloadsamba-1bd4735d8727baa55e3fd251b0f1d5efef4d1385.tar.gz
samba-1bd4735d8727baa55e3fd251b0f1d5efef4d1385.tar.bz2
samba-1bd4735d8727baa55e3fd251b0f1d5efef4d1385.zip
s4:auth/auth_sam_reply.c - fix counter types
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/auth_sam_reply.c6
1 files changed, 3 insertions, 3 deletions
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: