Removed casting for strictier syntax of recent gcc compilers.

This commit is contained in:
pnenzi 2005-08-22 19:29:20 +00:00
parent 9fc210b7e3
commit 5bcb23d795
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-08-22 Paolo Nenzi <p.nenzi@ieee.org>
* 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 <steven.borley@virgin.net>
* Yet more changes to the doc build system - see doc/ChangeLog for details

View File

@ -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 */