Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
struct winbindd_domain *d;
for (d = domain_list(); d != NULL; d = d->next) {
- int i;
+ size_t i;
for (i = 0; i < talloc_array_length(d->children); i++) {
struct winbindd_child *c = &d->children[i];
{
struct winbindd_child *shortest = &domain->children[0];
struct winbindd_child *current;
- int i;
+ size_t i;
for (i=0; i<talloc_array_length(domain->children); i++) {
size_t shortest_len, current_len;