ASSERT fixes (typo in variable and bad integer casting)

routerLayer => routeLayer (my typo from a recent commit, compile fix)
MINFINITY compiler warning
This commit is contained in:
Darryl L. Miles 2025-02-26 21:53:21 +00:00 committed by R. Timothy Edwards
parent 44bb9327a2
commit e592122199
2 changed files with 2 additions and 2 deletions

View File

@ -371,7 +371,7 @@ glMazeTile(inPt, tile, dir)
TileType type = TiGetType(tile);
Tile *tp;
ASSERT((int) ch != MINFINITY, "glMazeTile");
ASSERT((pointertype)ch != MINFINITY, "glMazeTile");
/*
* If this is a "real" channel boundary, pick a crossing point,

View File

@ -499,7 +499,7 @@ DefAddRoutes(
*/
routeLayer = stype;
ASSERT(routerLayer >= 0, "routerLayer<0"); /* positive bounds check */
ASSERT(routeLayer >= 0, "routeLayer<0"); /* positive bounds check */
lefl = defLayerMap[routeLayer].lefInfo;
/* Get correct rule for nondefault rules */