From 862a17e9ba0aac382a4301d1d60c9d5ea4888959 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 14 Feb 2010 10:03:55 +1100 Subject: s3: last part of TYPESAFE_QSORT() conversion convert smbcacls, sharesec and web/ --- source3/utils/smbcacls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils/smbcacls.c') diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index eefe4fe77c..5fd18ff58c 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -792,7 +792,7 @@ static void sort_acl(SEC_ACL *the_acl) uint32 i; if (!the_acl) return; - qsort(the_acl->aces, the_acl->num_aces, sizeof(the_acl->aces[0]), QSORT_CAST ace_compare); + TYPESAFE_QSORT(the_acl->aces, the_acl->num_aces, ace_compare); for (i=1;inum_aces;) { if (sec_ace_equal(&the_acl->aces[i-1], &the_acl->aces[i])) { -- cgit