]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libsmb: Align integer types
authorVolker Lendecke <vl@samba.org>
Mon, 18 Mar 2019 08:32:27 +0000 (09:32 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 18 Mar 2019 19:21:24 +0000 (19:21 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libsmb/namequery.c

index abeed972403ab5aae338849f785864517076db6a..dc563da97980253a2aef7b3853b5e60777244689 100644 (file)
@@ -2510,7 +2510,7 @@ static NTSTATUS resolve_ads(const char *name,
                        }
                } else {
                        /* use all the IP addresses from the SRV response */
-                       int j;
+                       size_t j;
                        for (j = 0; j < dcs[i].num_ips; j++) {
                                (*return_iplist)[*return_count].port = dcs[i].port;
                                (*return_iplist)[*return_count].ss = dcs[i].ss_s[j];