From: Matthew Fernandez Date: Thu, 29 Dec 2022 19:10:00 +0000 (-0800) Subject: gvmap get_poly_lines: remove unnecessary cast X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80d9b392fbd0d8a8bb424a65aa00453b7083aad6;p=graphviz gvmap get_poly_lines: remove unnecessary cast --- diff --git a/cmd/gvmap/make_map.c b/cmd/gvmap/make_map.c index 73676b190..e92e3e375 100644 --- a/cmd/gvmap/make_map.c +++ b/cmd/gvmap/make_map.c @@ -490,7 +490,7 @@ static void get_poly_lines(int exclude_random, int nt, SparseMatrix graph, Spars int *elist, edim = 3;/* a list tell which vertex a particular vertex is linked with during poly construction. since the surface is a cycle, each can only link with 2 others, the 3rd position is used to record how many links */ - int *ie = E->ia, *je = E->ja, *e = (int*) E->a, n = E->m; + int *ie = E->ia, *je = E->ja, *e = E->a, n = E->m; int *ia = NULL, *ja = NULL; SparseMatrix A; int *gmask = NULL;