mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
parent
8d070c60fc
commit
46807bd187
@ -554,7 +554,7 @@ static void sort_acl(SEC_ACL *the_acl)
|
||||
int i;
|
||||
if (!the_acl) return;
|
||||
|
||||
qsort(the_acl->ace, the_acl->num_aces, sizeof(the_acl->ace[0]), ace_compare);
|
||||
qsort(the_acl->ace, the_acl->num_aces, sizeof(the_acl->ace[0]), QSORT_CAST ace_compare);
|
||||
|
||||
for (i=1;i<the_acl->num_aces;) {
|
||||
if (sec_ace_equal(&the_acl->ace[i-1], &the_acl->ace[i])) {
|
||||
|
Loading…
Reference in New Issue
Block a user