1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

cldap_server: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2022-12-09 16:25:25 +01:00 committed by Jeremy Allison
parent f30f5dd245
commit 080ded0910

View 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;