]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
winbindd: Align integer types
authorVolker Lendecke <vl@samba.org>
Tue, 24 Feb 2026 09:29:18 +0000 (10:29 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 25 Feb 2026 12:33:39 +0000 (12:33 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
source3/winbindd/winbindd_dual.c

index cf448d816cd97843af6649c71e315eacdbbe88fe..afbe12bb20282f943ef2c4e8ae0e2f62b5f079a8 100644 (file)
@@ -60,7 +60,7 @@ static void forall_domain_children(bool (*fn)(struct winbindd_child *c,
        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];
@@ -432,7 +432,7 @@ static struct winbindd_child *choose_domain_child(struct winbindd_domain *domain
 {
        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;