From: Matt Birkholz Date: Thu, 18 Mar 2010 19:47:30 +0000 (-0700) Subject: Avoid 122 warnings from gcc4.4: dereferencing type-punned pointer will break strict... X-Git-Tag: 20100708-Gtk~85 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=f67143776c5448fe515d85a6a328c7d8d760e009;p=mit-scheme.git Avoid 122 warnings from gcc4.4: dereferencing type-punned pointer will break strict-aliasing rules --- diff --git a/src/microcode/x11.h b/src/microcode/x11.h index 472849f08..37baacfe8 100644 --- a/src/microcode/x11.h +++ b/src/microcode/x11.h @@ -199,11 +199,7 @@ struct xwindow int move_offset_x; int move_offset_y; -#ifdef __GNUC__ - void * extra [0]; -#else - void * extra [1]; -#endif + void * extra; }; #define XW_ALLOCATION_INDEX(xw) ((xw) -> allocation_index)