mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Inadvertently introduced a segfault on exit on the last commit,
while trying to get rid of a compiler warning. Fixed by this update.
This commit is contained in:
+1
-1
@@ -800,7 +800,7 @@ mainInitAfterArgs()
|
||||
void tcl_exit_hook(ClientData clientData)
|
||||
{
|
||||
TxResetTerminal();
|
||||
exit(*(int *)clientData);
|
||||
exit(*(int *)(&clientData));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user