summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-02-23 07:21:50 +0000
committerAndrew Tridgell <tridge@samba.org>2001-02-23 07:21:50 +0000
commit46807bd1870e8136f752841814086edd19f4c1f1 (patch)
tree413877e54629a91e2e4abe031a96d9c61bf4a09c /source3
parent8d070c60fc99e27d7e58f6d45aa64657c462b875 (diff)
downloadsamba-46807bd1870e8136f752841814086edd19f4c1f1.tar.gz
samba-46807bd1870e8136f752841814086edd19f4c1f1.tar.bz2
samba-46807bd1870e8136f752841814086edd19f4c1f1.zip
cast the qsort
(This used to be commit 703d9f5cb32ca4131051c50646fd833fb1ae7d76)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/smbcacls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c
index 3e71f39077..9d806bbd9b 100644
--- a/source3/utils/smbcacls.c
+++ b/source3/utils/smbcacls.c
@@ -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])) {