mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +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:
parent
f30f5dd245
commit
080ded0910
@ -43,7 +43,7 @@ static void cldapd_rootdse_fill(struct cldapd_server *cldapd,
|
|||||||
int ret = LDAP_SUCCESS, ldb_ret;
|
int ret = LDAP_SUCCESS, ldb_ret;
|
||||||
|
|
||||||
if (search->num_attributes >= 1) {
|
if (search->num_attributes >= 1) {
|
||||||
int i;
|
size_t i;
|
||||||
|
|
||||||
attrs = talloc_array(mem_ctx, const char *, search->num_attributes+1);
|
attrs = talloc_array(mem_ctx, const char *, search->num_attributes+1);
|
||||||
if (attrs == NULL) goto nomem;
|
if (attrs == NULL) goto nomem;
|
||||||
|
Loading…
Reference in New Issue
Block a user