diff --git a/database/DBtiles.c b/database/DBtiles.c index 841c7bac..c68610a1 100644 --- a/database/DBtiles.c +++ b/database/DBtiles.c @@ -657,7 +657,7 @@ DBResetTilePlane(plane, cdata) ClientData cdata; { Tile *tp, *tpnew; - Rect *rect = &TiPlaneRect; + const Rect *rect = &TiPlaneRect; /* Start with the leftmost non-infinity tile in the plane */ tp = TR(plane->pl_left); @@ -735,7 +735,7 @@ DBFreePaintPlane(plane) Plane *plane; /* Plane whose storage is to be freed */ { Tile *tp, *tpnew; - Rect *rect = &TiPlaneRect; + const Rect *rect = &TiPlaneRect; /* Start with the bottom-right non-infinity tile in the plane */ tp = BL(plane->pl_right); diff --git a/extract/ExtCouple.c b/extract/ExtCouple.c index e2e9acf9..6f8d847f 100644 --- a/extract/ExtCouple.c +++ b/extract/ExtCouple.c @@ -170,7 +170,7 @@ extFindCoupling(def, table, clipArea) HashTable *table; Rect *clipArea; { - Rect *searchArea; + const Rect *searchArea; int pNum; extCapStruct ecs;