From 34a2a84a6f414fa0490542973e129388731e389d Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 26 Nov 2021 10:04:16 -0800 Subject: [PATCH] graphcmd: remove unnecessary cast of 'interp' --- tclpkg/tcldot/tcldot-graphcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tclpkg/tcldot/tcldot-graphcmd.c b/tclpkg/tcldot/tcldot-graphcmd.c index 60c7404ab..22f1bb97e 100644 --- a/tclpkg/tcldot/tcldot-graphcmd.c +++ b/tclpkg/tcldot/tcldot-graphcmd.c @@ -337,7 +337,7 @@ int graphcmd(ClientData clientData, Tcl_Interp * interp, gvc->write_fn = Tcldot_string_writer; job = gvc->job; job->imagedata = canvas; - job->context = (void *)interp; + job->context = interp; job->external_context = TRUE; job->output_file = stdout; -- 2.49.0