From 46807bd1870e8136f752841814086edd19f4c1f1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 23 Feb 2001 07:21:50 +0000 Subject: cast the qsort (This used to be commit 703d9f5cb32ca4131051c50646fd833fb1ae7d76) --- source3/utils/smbcacls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;inum_aces;) { if (sec_ace_equal(&the_acl->ace[i-1], &the_acl->ace[i])) { -- cgit