diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-02-16 09:12:17 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-02-21 10:43:43 +0100 |
commit | a2ded049730074beb05cc1124c24ca848a28c297 (patch) | |
tree | fd25e83684985c07a879790c7774bcae693d6f9b /libcli | |
parent | 055857a8d46f315014f13a845c9a66a837d86f76 (diff) | |
download | samba-a2ded049730074beb05cc1124c24ca848a28c297.tar.gz samba-a2ded049730074beb05cc1124c24ca848a28c297.tar.bz2 samba-a2ded049730074beb05cc1124c24ca848a28c297.zip |
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.
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/security/sddl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |