From a2ded049730074beb05cc1124c24ca848a28c297 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Wed, 16 Feb 2011 09:12:17 +0100 Subject: libcli/security/sddl.c - fix wrong counter type This strictly needs to be from type "uint32_t" since "acl->num_aces" is defined of this type. --- libcli/security/sddl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcli') diff --git a/libcli/security/sddl.c b/libcli/security/sddl.c index 5b605c0531..c1f2e96373 100644 --- a/libcli/security/sddl.c +++ b/libcli/security/sddl.c @@ -566,7 +566,7 @@ static char *sddl_encode_acl(TALLOC_CTX *mem_ctx, const struct security_acl *acl uint32_t flags, const struct dom_sid *domain_sid) { char *sddl; - int i; + uint32_t i; /* add any ACL flags */ sddl = sddl_flags_to_string(mem_ctx, acl_flags, flags, false); -- cgit