(as_extend, as_costcomp, gen_power, powcmp): Fix non-portable function
cast. (qsort_func_t): Unused, remove.
This commit is contained in:
parent
b360d076d3
commit
0aaf0084aa
5 changed files with 12 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue