mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 01:43:00 +02:00
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:
committed by
R. Timothy Edwards
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,
|
||||
|
||||
+1
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user