idmap_hash: Align integer types
authorVolker Lendecke <vl@samba.org>
Fri, 4 May 2018 19:02:41 +0000 (21:02 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 19 Jun 2018 06:59:11 +0000 (08:59 +0200)
Loop-variable and bound should be the same type

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/winbindd/idmap_hash/idmap_hash.c

index 589027154d4fcc78c0a531dbc2528d4a3b7ea5ef..0f4b0b8b0642fa502a2fe39b1a1dc1dfaa0b35c7 100644 (file)
@@ -110,7 +110,7 @@ static NTSTATUS idmap_hash_initialize(struct idmap_domain *dom)
        NTSTATUS nt_status = NT_STATUS_UNSUCCESSFUL;
        struct winbindd_tdc_domain *dom_list = NULL;
        size_t num_domains = 0;
-       int i;
+       size_t i;
 
        DBG_ERR("The idmap_hash module is deprecated and should not be used. "
                "Please migrate to a different plugin. This module will be "