summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-07-24 06:01:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:17 -0500
commit276436311fcae92609116732d5d7e864bedbb886 (patch)
treeaf0e65d7bc5a75926c9814192436847e351653f5
parentdc25ec5ce736b21cdcccddff12e6c9d9c0706df8 (diff)
downloadsamba-276436311fcae92609116732d5d7e864bedbb886.tar.gz
samba-276436311fcae92609116732d5d7e864bedbb886.tar.bz2
samba-276436311fcae92609116732d5d7e864bedbb886.zip
r24010: Fix warning for the function paramter to qsort().
Andrew Bartlett (This used to be commit 51862c4c5299da02d3d781b3e9255823bc9b59af)
-rw-r--r--source4/dsdb/samdb/ldb_modules/kludge_acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/kludge_acl.c b/source4/dsdb/samdb/ldb_modules/kludge_acl.c
index 68ab3880e5..1ce23d365a 100644
--- a/source4/dsdb/samdb/ldb_modules/kludge_acl.c
+++ b/source4/dsdb/samdb/ldb_modules/kludge_acl.c
@@ -153,7 +153,7 @@ static int kludge_acl_allowedAttributes(struct ldb_context *ldb, struct ldb_mess
qsort(allowedAttributes->values,
allowedAttributes->num_values,
sizeof(*allowedAttributes->values),
- data_blob_cmp);
+ (comparison_fn_t)data_blob_cmp);
for (i=1 ; i < allowedAttributes->num_values; i++) {
struct ldb_val *val1 = &allowedAttributes->values[i-1];