From 625314729b125ad84395bca31207a2eaf6d85a86 Mon Sep 17 00:00:00 2001 From: stefanjones Date: Thu, 17 May 2007 15:59:24 +0000 Subject: [PATCH] Removed casting for strictier syntax of recent gcc compilers --- src/frontend/plotting/x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/plotting/x11.c b/src/frontend/plotting/x11.c index af277922e..c03d96e0c 100644 --- a/src/frontend/plotting/x11.c +++ b/src/frontend/plotting/x11.c @@ -314,7 +314,7 @@ handlebuttonev(Widget w, caddr_t clientdata, caddr_t calldata) /* Recover from bad NewViewPort call. */ -#define RECOVERNEWVIEWPORT() tfree((char *) graph);\ +#define RECOVERNEWVIEWPORT() tfree(graph);\ graph = (GRAPH *) NULL; /* need to do this or else DestroyGraph will free it again */