From 974621ebe7fd023721332479ab6c64dfcf357aa2 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Fri, 30 Aug 2024 01:48:38 -0400 Subject: [PATCH] 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. --- VERSION | 2 +- commands/CmdTZ.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 091aeb8f..ac237a8d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.489 +8.3.490 diff --git a/commands/CmdTZ.c b/commands/CmdTZ.c index 60ec727b..56fa95b3 100644 --- a/commands/CmdTZ.c +++ b/commands/CmdTZ.c @@ -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. */