diff options
author | Volker Lendecke <vl@samba.org> | 2018-05-18 14:47:24 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-06-16 01:06:36 +0200 |
commit | ea4b40e65a92f173d5bda8905f99a002a4bd8151 (patch) | |
tree | d97ca31f781d8ca79e3216497c549287dd99771e /source3/winbindd | |
parent | 4dac6e7cd08ab226eff9415b4924b6dcd8e5178d (diff) | |
download | samba-ea4b40e65a92f173d5bda8905f99a002a4bd8151.tar.gz |
winbindd: Align integer types in for loops
Iterate over the same type as the loop limit
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |