mirror of
https://github.com/samba-team/samba.git
synced 2025-02-05 21:57:51 +03:00
cast the qsort
(This used to be commit 703d9f5cb32ca4131051c50646fd833fb1ae7d76)
This commit is contained in:
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…
x
Reference in New Issue
Block a user