From 76beee812904fa2e2e1c91f5fc8bcd174873d7bc Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 8 Sep 2020 16:00:27 -0700 Subject: [PATCH] s3: libads: Use size_t counts inside cldap_ping_list(). Signed-off-by: Jeremy Allison Reviewed-by: Noel Power --- source3/libads/ldap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++) { -- 2.47.3