Update of /cvsroot/netrek/client/netrekxp/include In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31318/include Modified Files: packets.h Log Message: Fixes packing for generic 32 b struct. Fixes bug in packet log display for generic 32. Index: packets.h =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/include/packets.h,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- packets.h 12 Jul 2008 12:09:36 -0000 1.15 +++ packets.h 14 Jul 2008 01:52:47 -0000 1.16 @@ -903,6 +903,7 @@ unsigned short s_bitmap; }; +#pragma pack(push,1) struct generic_32_spacket { char type; @@ -935,7 +936,9 @@ u_char starbase_remain; /* starbase reconstruction, mins */ u_char team_remain; /* team surrender time, seconds */ char pad1[18]; -}; //__attribute__ ((packed)); +}; +#pragma pack(pop) + #define GENERIC_32_VERSION_B 2 #define GENERIC_32_VERSION GENERIC_32_VERSION_B /* default */