Corrected unfortunate typo from today's previous commit, and
corrected a wrong typecasting that results in a compile warning.
This commit is contained in:
parent
f0d2c8db0f
commit
838591bdf2
|
|
@ -1498,7 +1498,7 @@ CIFReadCellCleanup(filetype)
|
|||
UndoDisable();
|
||||
|
||||
/* cifplanes should be valid, but don't crash magic if not */
|
||||
if (cifplanes != (ClientData)CLIENTDEFAULT)
|
||||
if (cifplanes != (Plane **)CLIENTDEFAULT)
|
||||
{
|
||||
|
||||
for (pNum = 0; pNum < MAXCIFRLAYERS; pNum++)
|
||||
|
|
|
|||
|
|
@ -1669,7 +1669,7 @@ size_error:
|
|||
LefEndStatement(f);
|
||||
break;
|
||||
case LEF_ORIGIN:
|
||||
if (LefReadLefPoint(f, x, y) != 0) goto origin_error;
|
||||
if (LefReadLefPoint(f, &x, &y) != 0) goto origin_error;
|
||||
lefBBox.r_xbot = -(int)roundf(x / oscale);
|
||||
lefBBox.r_ybot = -(int)roundf(y / oscale);
|
||||
if (has_size)
|
||||
|
|
|
|||
Loading…
Reference in New Issue