diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-09-09 20:31:38 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-09-09 20:35:43 +0200 |
commit | 59559bd02fb2dfaf19c0b4b86f5443115dd17f38 (patch) | |
tree | 09b19ebacb7a2f81c3e0c35e476dd42488e77578 /source4/libcli/security/create_descriptor.c | |
parent | 4f5dd3f93b96429baa85ec3ef730ea4bdc2b7945 (diff) | |
download | samba-59559bd02fb2dfaf19c0b4b86f5443115dd17f38.tar.gz samba-59559bd02fb2dfaf19c0b4b86f5443115dd17f38.tar.bz2 samba-59559bd02fb2dfaf19c0b4b86f5443115dd17f38.zip |
s4:libcli/security/*.c - fix some wrong typed counters
According to "librpc/gen_ndr/security.h" they need to be "uint32_t".
Diffstat (limited to 'source4/libcli/security/create_descriptor.c')
-rw-r--r-- | source4/libcli/security/create_descriptor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/security/create_descriptor.c b/source4/libcli/security/create_descriptor.c index ad6a599969..bc3f42e1f2 100644 --- a/source4/libcli/security/create_descriptor.c +++ b/source4/libcli/security/create_descriptor.c @@ -90,7 +90,7 @@ static struct security_acl *calculate_inherited_from_parent(TALLOC_CTX *mem_ctx, struct dom_sid *group, struct GUID *object_list) { - int i; + uint32_t i; TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); struct security_acl *tmp_acl = talloc_zero(mem_ctx, struct security_acl); struct dom_sid *co, *cg; @@ -173,7 +173,7 @@ static struct security_acl *process_user_acl(TALLOC_CTX *mem_ctx, struct dom_sid *group, struct GUID *object_list) { - int i; + uint32_t i; TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); struct security_acl *tmp_acl = talloc_zero(tmp_ctx, struct security_acl); struct security_acl *new_acl; |