1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r24010: Fix warning for the function paramter to qsort().

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2007-07-24 06:01:30 +00:00 committed by Gerald (Jerry) Carter
parent bad2dc14d7
commit 51862c4c52

View File

@ -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];