From eda16f2410d7a6d79505b102aca8f111de4871d9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 16 Feb 2010 22:41:45 +1100 Subject: s4-kcc: remove a qsort() that snuck into the new topology code --- source4/dsdb/kcc/kcc_topology.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/dsdb') diff --git a/source4/dsdb/kcc/kcc_topology.c b/source4/dsdb/kcc/kcc_topology.c index 53de556d43..571bd8482e 100644 --- a/source4/dsdb/kcc/kcc_topology.c +++ b/source4/dsdb/kcc/kcc_topology.c @@ -146,8 +146,7 @@ static NTSTATUS kcctpl_create_graph(TALLOC_CTX *mem_ctx, guids->count); NT_STATUS_HAVE_NO_MEMORY_AND_FREE(graph->vertices.data, graph); - qsort(guids->data, guids->count, sizeof(struct GUID), - QSORT_CAST GUID_compare); + TYPESAFE_QSORT(guids->data, guids->count, GUID_compare); for (i = 0; i < guids->count; i++) { graph->vertices.data[i].id = guids->data[i]; -- cgit