summaryrefslogtreecommitdiff
path: root/source4/libcli/security
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-29 11:49:50 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-02 15:33:48 +0200
commit44df2488e30da783add33b4fb85d96ce65856484 (patch)
tree3750f027eb89377d3908e802869cfca5922b237c /source4/libcli/security
parentf390daef475126b4ff5a3d0ffd2babbd87d4c22b (diff)
downloadsamba-44df2488e30da783add33b4fb85d96ce65856484.tar.gz
samba-44df2488e30da783add33b4fb85d96ce65856484.tar.bz2
samba-44df2488e30da783add33b4fb85d96ce65856484.zip
s4: fix various warnings (not "const" related ones)
Diffstat (limited to 'source4/libcli/security')
-rw-r--r--source4/libcli/security/object_tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/security/object_tree.c b/source4/libcli/security/object_tree.c
index 8a90019a59..85b407913c 100644
--- a/source4/libcli/security/object_tree.c
+++ b/source4/libcli/security/object_tree.c
@@ -94,13 +94,13 @@ struct object_tree * get_object_tree_by_GUID(struct object_tree *root,
/* Change the granted access per each ACE */
void object_tree_modify_access(struct object_tree *root,
- uint32_t access)
+ uint32_t access_mask)
{
struct object_tree *p;
if (root){
- root->remaining_access &= ~access;
+ root->remaining_access &= ~access_mask;
}
for (p = root->children; p != NULL; p = p->next)
- object_tree_modify_access(p, access);
+ object_tree_modify_access(p, access_mask);
}