Avoid 122 warnings from gcc4.4: dereferencing type-punned pointer will break strict...
authorMatt Birkholz <matt@birkholz.chandler.az.us>
Thu, 18 Mar 2010 19:47:30 +0000 (12:47 -0700)
committerMatt Birkholz <matt@birkholz.chandler.az.us>
Thu, 18 Mar 2010 19:47:30 +0000 (12:47 -0700)
src/microcode/x11.h

index 472849f087bd9d0823042785ea2668c570a04e64..37baacfe85c14df55fbcc2d93b3f569dff4b1926 100644 (file)
@@ -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)