1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r17804: Fix a enum/int mixup found by the IRIX compiler.

Volker
(This used to be commit 3a1cf62376)
This commit is contained in:
Volker Lendecke 2006-08-24 19:56:20 +00:00 committed by Gerald (Jerry) Carter
parent 0d1e4dc5b0
commit 25a685b71a
2 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ typedef mode_t SMB_ACL_PERM_T;
/* Types of ACLs. */
enum smb_acl_tag_t {
SMB_ACL_TAG_INVALID=0,
SMB_ACL_USER=1,
SMB_ACL_USER_OBJ,
SMB_ACL_GROUP,

View File

@ -273,7 +273,7 @@ int sys_acl_create_entry(SMB_ACL_T *acl_p, SMB_ACL_ENTRY_T *entry_p)
}
entry_d = &acl_d->acl[acl_d->count++];
entry_d->a_type = 0;
entry_d->a_type = SMB_ACL_TAG_INVALID;
entry_d->uid = -1;
entry_d->gid = -1;
entry_d->a_perm = 0;