]> granicus.if.org Git - graphviz/commitdiff
beginpath: remove an unnecessary cast
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 18 Jun 2022 22:22:52 +0000 (15:22 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 23 Jun 2022 00:11:37 +0000 (17:11 -0700)
lib/common/splines.c

index 37a05c558a975711bbf427cc3db6ada26bdfaa15..b16cae792e8be1ff1b8b32b8f81594417625ab34 100644 (file)
@@ -415,7 +415,7 @@ beginpath(path * P, edge_t * e, int et, pathend_t * endp, bool merge)
            P->start.constrained = false;
     }
     P->nbox = 0;
-    P->data = (void *) e;
+    P->data = e;
     endp->np = P->start.p;
     if (et == REGULAREDGE && ND_node_type(n) == NORMAL && (side = ED_tail_port(e).side)) {
        edge_t* orig;