From adf3f694733f98991ce5a135fdd277cc660b192d Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 21 Jun 2022 20:40:00 -0700 Subject: [PATCH] nameOf: remove unnecessary cast --- lib/common/htmltable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/htmltable.c b/lib/common/htmltable.c index 59ed11d23..a594fca86 100644 --- a/lib/common/htmltable.c +++ b/lib/common/htmltable.c @@ -1831,7 +1831,7 @@ static char *nameOf(void *obj, agxbuf * xb) agxbput(xb, agnameof(obj)); break; case AGEDGE: - ep = (Agedge_t *) obj; + ep = obj; agxbput(xb, agnameof(agtail(ep))); agxbput(xb, agnameof(aghead(ep))); if (agisdirected(agraphof(aghead(ep)))) -- 2.40.0