From 006c07082b3458b24e01cf12f309a93ecc9ddf50 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Mon, 1 Jan 2024 15:36:05 -0500 Subject: [PATCH] Inadvertently introduced a segfault on exit on the last commit, while trying to get rid of a compiler warning. Fixed by this update. --- VERSION | 2 +- utils/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 8cfff940..0d4fd9f2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.455 +8.3.456 diff --git a/utils/main.c b/utils/main.c index 63110deb..cc9b2304 100644 --- a/utils/main.c +++ b/utils/main.c @@ -800,7 +800,7 @@ mainInitAfterArgs() void tcl_exit_hook(ClientData clientData) { TxResetTerminal(); - exit(*(int *)clientData); + exit(*(int *)(&clientData)); } /*