]> granicus.if.org Git - graphviz/commitdiff
Tcldot_string_writer: remove unnecessary cast
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 6 Sep 2021 18:12:13 +0000 (11:12 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 9 Sep 2021 03:28:06 +0000 (20:28 -0700)
This pointer implicitly coerces.

tclpkg/tcldot/tcldot-util.c

index b2542edaf3ac6a4afe0ba4fc8329fdd1e608f19f..da8e34250a77c4368bdd71dfb3e09e910883e19f 100644 (file)
@@ -14,7 +14,7 @@
 
 size_t Tcldot_string_writer(GVJ_t *job, const char *s, size_t len)
 {
-    Tcl_AppendResult((Tcl_Interp*)(job->context), s, NULL);
+    Tcl_AppendResult(job->context, s, NULL);
     return len;
 }