From 8993342965987c58bc16baf9680c6fb9f2d11286 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 5 Jan 2018 17:11:43 +0100 Subject: [PATCH] dsgetdcname: Fix a signed/unsigned hickup Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/libsmb/dsgetdcname.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c index ce0cc89899c..f15456a8f4a 100644 --- a/source3/libsmb/dsgetdcname.c +++ b/source3/libsmb/dsgetdcname.c @@ -500,7 +500,8 @@ static NTSTATUS discover_dc_dns(TALLOC_CTX *mem_ctx, struct ip_service_name **returned_dclist, int *return_count) { - int i, j; + int i; + size_t j; NTSTATUS status; struct dns_rr_srv *dcs = NULL; int numdcs = 0; -- 2.11.4.GIT