Browse Source

Removed casting for strictier syntax of recent gcc compilers.

pre-master-46
pnenzi 21 years ago
parent
commit
5bcb23d795
  1. 5
      ChangeLog
  2. 2
      src/frontend/plotting/x11.c

5
ChangeLog

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

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

Loading…
Cancel
Save