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

cast the qsort

(This used to be commit 703d9f5cb3)
This commit is contained in:
Andrew Tridgell 2001-02-23 07:21:50 +00:00
parent 8d070c60fc
commit 46807bd187

View File

@ -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])) {