Corrected unfortunate typo from today's previous commit, and

corrected a wrong typecasting that results in a compile warning.
This commit is contained in:
Tim Edwards
2020-05-10 20:01:05 -04:00
parent f0d2c8db0f
commit 838591bdf2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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++)