From: Jeremy Allison Date: Tue, 8 Sep 2020 23:00:27 +0000 (-0700) Subject: s3: libads: Use size_t counts inside cldap_ping_list(). X-Git-Tag: talloc-2.3.2~524 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76beee812904fa2e2e1c91f5fc8bcd174873d7bc;p=thirdparty%2Fsamba.git s3: libads: Use size_t counts inside cldap_ping_list(). Signed-off-by: Jeremy Allison Reviewed-by: Noel Power --- diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 593af18d918..1c3677797d9 100755 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -349,9 +349,9 @@ static bool ads_try_connect(ADS_STRUCT *ads, bool gc, static NTSTATUS cldap_ping_list(ADS_STRUCT *ads, const char *domain, struct ip_service *ip_list, - int count) + size_t count) { - int i; + size_t i; bool ok; for (i = 0; i < count; i++) {