summaryrefslogtreecommitdiffstats
path: root/source/utils
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
commit703d9f5cb32ca4131051c50646fd833fb1ae7d76 (patch)
treebc82412f729c2c3cd2380ab9c9266df79161bc19 /source/utils
parent61293979ce2aded58a5ef2a54b3b05d1d278f7cf (diff)
downloadsamba-703d9f5cb32ca4131051c50646fd833fb1ae7d76.tar.gz
samba-703d9f5cb32ca4131051c50646fd833fb1ae7d76.tar.xz
samba-703d9f5cb32ca4131051c50646fd833fb1ae7d76.zip
cast the qsort
Diffstat (limited to 'source/utils')
-rw-r--r--source/utils/smbcacls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/smbcacls.c b/source/utils/smbcacls.c
index 3e71f390773..9d806bbd9b3 100644
--- a/source/utils/smbcacls.c
+++ b/source/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])) {