Remove superflous casts and parenthesis.

This commit is contained in:
Markus Armbruster 2006-05-21 12:24:30 +00:00
parent f883710417
commit cd73a47dfa
28 changed files with 136 additions and 145 deletions

View file

@ -265,8 +265,8 @@ bp_realcost(struct as_coord from, struct as_coord to, void *pp)
static double
bp_seccost(struct as_coord from, struct as_coord to, void *pp)
{
return (double)mapdist((coord)from.x, (coord)from.y,
(coord)to.x, (coord)to.y);
return mapdist((coord)from.x, (coord)from.y,
(coord)to.x, (coord)to.y);
}
/*