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:
parent
bad2dc14d7
commit
51862c4c52
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user