summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-14 10:37:20 +1100
committerAndrew Tridgell <tridge@samba.org>2010-02-14 18:44:20 +1100
commit282cc79454f7b708085a04d04e98d11ffec8b293 (patch)
treed91205910306d6a7f39dc3a10e283405a701bee2 /source4/lib/ldb/ldb_tdb
parent0c39fbc94ed6ad3aa18a6b3c15743707236f35c3 (diff)
downloadsamba-282cc79454f7b708085a04d04e98d11ffec8b293.tar.gz
samba-282cc79454f7b708085a04d04e98d11ffec8b293.tar.bz2
samba-282cc79454f7b708085a04d04e98d11ffec8b293.zip
s4-ldb: use TYPESAFE_QSORT() in the rest of the ldb code
Diffstat (limited to 'source4/lib/ldb/ldb_tdb')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_index.c b/source4/lib/ldb/ldb_tdb/ldb_index.c
index 4b31021001..bb4617db09 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_index.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_index.c
@@ -973,7 +973,7 @@ static void ltdb_dn_list_remove_duplicates(struct dn_list *list)
return;
}
- qsort(list->dn, list->count, sizeof(struct ldb_val), (comparison_fn_t) dn_list_cmp);
+ TYPESAFE_QSORT(list->dn, list->count, dn_list_cmp);
new_count = 1;
for (i=1; i<list->count; i++) {