summaryrefslogtreecommitdiffstats
path: root/unix/tkAppInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-02-02 16:07:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-02-02 16:07:23 (GMT)
commit06420ba2fed328cf5559b51d715c8554ff00c69c (patch)
tree4352e4ab25a6a1a63247f7c413a465b5d41f2e9a /unix/tkAppInit.c
parent34fbe0438a0f9b87108fb087f3d21c3d01399a58 (diff)
parent9c29a905fa4d7ec4c5aa8528475f312dc3d39dab (diff)
downloadtk-06420ba2fed328cf5559b51d715c8554ff00c69c.zip
tk-06420ba2fed328cf5559b51d715c8554ff00c69c.tar.gz
tk-06420ba2fed328cf5559b51d715c8554ff00c69c.tar.bz2
Merge 8.6
Diffstat (limited to 'unix/tkAppInit.c')
-rw-r--r--unix/tkAppInit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/unix/tkAppInit.c b/unix/tkAppInit.c
index 1406f3d..1a1f084 100644
--- a/unix/tkAppInit.c
+++ b/unix/tkAppInit.c
@@ -127,8 +127,7 @@ Tcl_AppInit(
#if defined(USE_CUSTOM_EXIT_PROC)
if (TkpWantsExitProc()) {
- /* The cast below avoids warnings from old gcc compilers. */
- Tcl_SetExitProc((void *)TkpExitProc);
+ Tcl_SetExitProc(TkpExitProc);
}
#endif