summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'libcli')
-rw-r--r--libcli/security/security_descriptor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcli/security/security_descriptor.c b/libcli/security/security_descriptor.c
index 60f9de8f87..574dd4e317 100644
--- a/libcli/security/security_descriptor.c
+++ b/libcli/security/security_descriptor.c
@@ -85,7 +85,7 @@ struct security_acl *security_acl_concatenate(TALLOC_CTX *mem_ctx,
const struct security_acl *acl2)
{
struct security_acl *nacl;
- int i;
+ uint32_t i;
if (!acl1 && !acl2)
return NULL;
@@ -270,7 +270,7 @@ static NTSTATUS security_descriptor_acl_del(struct security_descriptor *sd,
bool sacl_del,
const struct dom_sid *trustee)
{
- int i;
+ uint32_t i;
bool found = false;
struct security_acl *acl = NULL;
@@ -364,7 +364,7 @@ bool security_ace_equal(const struct security_ace *ace1,
bool security_acl_equal(const struct security_acl *acl1,
const struct security_acl *acl2)
{
- int i;
+ uint32_t i;
if (acl1 == acl2) return true;
if (!acl1 || !acl2) return false;