]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
winbind: Align integer types
authorVolker Lendecke <vl@samba.org>
Sat, 21 Nov 2020 12:02:28 +0000 (13:02 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 30 Nov 2020 22:24:37 +0000 (22:24 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/winbindd_dsgetdcname.c

index e3640487346ecff5bb3a4f8014f1cf83a4fbb066..d001213c8752848ab64605ebd5eb81cf35109f63 100644 (file)
@@ -183,7 +183,7 @@ static uint32_t get_dsgetdc_flags(uint32_t wbc_flags)
        };
 
        uint32_t ds_flags = 0;
-       int i = 0 ;
+       size_t i = 0;
 
        for (i=0; i<ARRAY_SIZE(lookup_dc_flags); i++) {
                if (wbc_flags & lookup_dc_flags[i].wbc_dc_flag) {