From: Volker Lendecke Date: Fri, 18 May 2018 12:47:24 +0000 (+0200) Subject: winbindd: Align integer types in for loops X-Git-Tag: tevent-0.9.37~329 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea4b40e65a92f173d5bda8905f99a002a4bd8151;p=thirdparty%2Fsamba.git winbindd: Align integer types in for loops Iterate over the same type as the loop limit Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c index 9707574723b..71735edf9c7 100644 --- a/source3/winbindd/winbindd_util.c +++ b/source3/winbindd/winbindd_util.c @@ -602,7 +602,7 @@ static void rescan_forest_root_trusts( void ) { struct winbindd_tdc_domain *dom_list = NULL; size_t num_trusts = 0; - int i; + size_t i; NTSTATUS status; /* The only transitive trusts supported by Windows 2003 AD are @@ -679,7 +679,7 @@ static void rescan_forest_trusts( void ) struct winbindd_domain *d = NULL; struct winbindd_tdc_domain *dom_list = NULL; size_t num_trusts = 0; - int i; + size_t i; NTSTATUS status; /* The only transitive trusts supported by Windows 2003 AD are