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:
parent
44bb9327a2
commit
e592122199
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue