diff --git a/ChangeLog b/ChangeLog index 9671510c5..8203b7186 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-22 Paolo Nenzi + + * src/frontend/plotting/x11.c: removed casting in a macro. It conflicts + with the strictier syntax of recent gcc compilers. + 2005-08-15 Steven Borley * Yet more changes to the doc build system - see doc/ChangeLog for details diff --git a/src/frontend/plotting/x11.c b/src/frontend/plotting/x11.c index 0cb760467..98448b18a 100644 --- a/src/frontend/plotting/x11.c +++ b/src/frontend/plotting/x11.c @@ -301,7 +301,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 */