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),