(as_extend, as_costcomp, gen_power, powcmp): Fix non-portable function

cast.
(qsort_func_t): Unused, remove.
This commit is contained in:
Markus Armbruster 2005-02-24 18:47:26 +00:00
parent b360d076d3
commit 0aaf0084aa
5 changed files with 12 additions and 12 deletions

View file

@ -50,7 +50,7 @@ as_extend(struct as_data *adp)
return (NULL);
if (i > 1)
qsort(adp->neighbor_nodes, i,
sizeof(*adp->neighbor_nodes), (qsort_func_t)as_costcomp);
sizeof(*adp->neighbor_nodes), as_costcomp);
/* remove old coord from head of queue and add to list of tried */
qp = head;