git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
055857a
)
libcli/security/sddl.c - fix wrong counter type
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Wed, 16 Feb 2011 08:12:17 +0000
(09:12 +0100)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Mon, 21 Feb 2011 09:43:43 +0000
(10:43 +0100)
This strictly needs to be from type "uint32_t" since "acl->num_aces" is
defined of this type.
libcli/security/sddl.c
patch
|
blob
|
history
diff --git
a/libcli/security/sddl.c
b/libcli/security/sddl.c
index 5b605c0531f8064dd42b428dfdc880758e79384c..c1f2e9637393af4f0df349f2fe9a830fc73f92b0 100644
(file)
--- 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;
-
in
t i;
+
uint32_
t i;
/* add any ACL flags */
sddl = sddl_flags_to_string(mem_ctx, acl_flags, flags, false);