Skip to content

Commit e592122

Browse files
dlmilesRTimothyEdwards
authored andcommitted
ASSERT fixes (typo in variable and bad integer casting)
routerLayer => routeLayer (my typo from a recent commit, compile fix) MINFINITY compiler warning
1 parent 44bb932 commit e592122

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

grouter/grouteMaze.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ glMazeTile(inPt, tile, dir)
371371
TileType type = TiGetType(tile);
372372
Tile *tp;
373373

374-
ASSERT((int) ch != MINFINITY, "glMazeTile");
374+
ASSERT((pointertype)ch != MINFINITY, "glMazeTile");
375375

376376
/*
377377
* If this is a "real" channel boundary, pick a crossing point,

lef/defRead.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ DefAddRoutes(
499499
*/
500500
routeLayer = stype;
501501

502-
ASSERT(routerLayer >= 0, "routerLayer<0"); /* positive bounds check */
502+
ASSERT(routeLayer >= 0, "routeLayer<0"); /* positive bounds check */
503503
lefl = defLayerMap[routeLayer].lefInfo;
504504

505505
/* Get correct rule for nondefault rules */

0 commit comments

Comments
 (0)