]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
cldap_server: Align integer types
authorVolker Lendecke <vl@samba.org>
Fri, 9 Dec 2022 15:25:25 +0000 (16:25 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 12 Dec 2022 21:16:33 +0000 (21:16 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/cldap_server/rootdse.c

index 89f0a66b0ada127d22eaca07d4aa5c00a8da222e..84f26967da1c882f2de5f1f9324b8d2120efe195 100644 (file)
@@ -43,7 +43,7 @@ static void cldapd_rootdse_fill(struct cldapd_server *cldapd,
        int ret = LDAP_SUCCESS, ldb_ret;
 
        if (search->num_attributes >= 1) {
-               int i;
+               size_t i;
 
                attrs = talloc_array(mem_ctx, const char *, search->num_attributes+1);
                if (attrs == NULL) goto nomem;