]> granicus.if.org Git - graphviz/commitdiff
remove an unnecessary cast
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 8 Apr 2021 04:04:04 +0000 (21:04 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 17 Apr 2021 21:02:40 +0000 (14:02 -0700)
lib/ortho/ortho.c

index ed261cc3c51904e8c65dc3ad2db8ee5375229988..915a36945983cd7cc48a532fa03f13f82807254b 100644 (file)
@@ -1303,7 +1303,7 @@ orthoEdges (Agraph_t* g, int doLbls)
 
     route_list = N_NEW (n_edges, route);
 
-    qsort((char *)es, n_edges, sizeof(epair_t), (qsort_cmpf) edgecmp);
+    qsort(es, n_edges, sizeof(epair_t), (qsort_cmpf) edgecmp);
 
     gstart = sg->nnodes;
     PQgen (sg->nnodes+2);