From 80d9b392fbd0d8a8bb424a65aa00453b7083aad6 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Thu, 29 Dec 2022 11:10:00 -0800 Subject: [PATCH] gvmap get_poly_lines: remove unnecessary cast --- cmd/gvmap/make_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0