aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r--gdb/gdbtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c
index c59821f..d1760a6 100644
--- a/gdb/gdbtk.c
+++ b/gdb/gdbtk.c
@@ -339,7 +339,7 @@ gdbtk_init ( argv0 )
return;
#endif
- old_chain = make_cleanup (cleanup_init, 0);
+ old_chain = make_cleanup ((make_cleanup_func) cleanup_init, 0);
/* First init tcl and tk. */
Tcl_FindExecutable (argv0);