From: Matthew Fernandez Date: Thu, 29 Dec 2022 19:15:13 +0000 (-0800) Subject: sparse SparseMatrix_import_dot: remove unnecessary cast X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47830748bc82dd5230dfbe2b677c87a1b9cf4248;p=graphviz sparse SparseMatrix_import_dot: remove unnecessary cast --- diff --git a/lib/sparse/DotIO.c b/lib/sparse/DotIO.c index d662bc4e0..17f58f6df 100644 --- a/lib/sparse/DotIO.c +++ b/lib/sparse/DotIO.c @@ -115,7 +115,7 @@ SparseMatrix SparseMatrix_import_dot(Agraph_t *g, int dim, double **label_sizes, A->nz = nedges; I = A->ia; J = A->ja; - val = (double*) A->a; + val = A->a; } else { I = N_NEW(nedges, int); J = N_NEW(nedges, int);