summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-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];