Remove a bunch of redundant casts.
This commit is contained in:
parent
ee6d72f3b8
commit
4f59fc9967
125 changed files with 417 additions and 432 deletions
|
@ -135,7 +135,7 @@ as_makepath(struct as_data *adp)
|
|||
struct as_node *np;
|
||||
|
||||
for (np = adp->head->np; np; np = np->back) {
|
||||
pp = (struct as_path *)malloc(sizeof(struct as_path));
|
||||
pp = malloc(sizeof(struct as_path));
|
||||
pp->c = np->c;
|
||||
pp->next = adp->path;
|
||||
adp->path = pp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue