mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Corrected a missing pointer to integer cast in code that was
added fairly recently when getting rid of crashes related to commands operating on non-edit cells. The lack of a cast was prevening compilation on systems with more rigorous error checking.
This commit is contained in:
+1
-1
@@ -981,7 +981,7 @@ CmdWhat(w, cmd)
|
||||
if (EditCellUse == NULL)
|
||||
{
|
||||
editNull = TRUE;
|
||||
EditCellUse = w->w_surfaceID;
|
||||
EditCellUse = (CellUse *)w->w_surfaceID;
|
||||
}
|
||||
|
||||
/* Find all the selected paint and print out the layer names. */
|
||||
|
||||
Reference in New Issue
Block a user