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

tldap: Use "size_t" for talloc_array_length result

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Volker Lendecke 2016-01-10 11:29:40 +01:00 committed by Ralph Boehme
parent 8215409153
commit e48184935e

View File

@ -168,7 +168,7 @@ bool tldap_connection_ok(struct tldap_context *ld)
static struct tldap_ctx_attribute *tldap_context_findattr(
struct tldap_context *ld, const char *name)
{
int i, num_attrs;
size_t i, num_attrs;
num_attrs = talloc_array_length(ld->ctx_attrs);