From 99e864b6bc77d369f279649f9b5cb0dd15d05bd6 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 17 Sep 2016 11:56:35 +0200 Subject: [PATCH] graf.c, drop an excess cast --- src/frontend/plotting/graf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/plotting/graf.c b/src/frontend/plotting/graf.c index 627644a0c..6f4fde3b0 100644 --- a/src/frontend/plotting/graf.c +++ b/src/frontend/plotting/graf.c @@ -272,7 +272,7 @@ gr_point(struct dvec *dv, want to connect with oldx and oldy. */ if (np) DevDrawLine(fromx, fromy, tox, toy); - if ((tics = (double *) currentgraph->ticdata) != NULL) { + if ((tics = currentgraph->ticdata) != NULL) { for (; *tics < HUGE; tics++) if (*tics == (double) np) { DevDrawText("x", (int) (tox - currentgraph->fontwidth / 2),