From: Volker Lendecke Date: Mon, 18 Mar 2019 08:32:27 +0000 (+0100) Subject: libsmb: Align integer types X-Git-Tag: talloc-2.2.0~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7da54f6fd3e7493e0a37cfffc78cec2d5c4a4366;p=thirdparty%2Fsamba.git libsmb: Align integer types Signed-off-by: Volker Lendecke Reviewed-by: Andreas Schneider --- diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index abeed972403..dc563da9798 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -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];