Pack WelcomeMessage.

This commit is contained in:
Bartosz Taudul 2018-07-10 22:29:31 +02:00
parent 43d5ab4382
commit 32ca54a523

View File

@ -28,6 +28,8 @@ enum ServerQuery : uint8_t
enum { WelcomeMessageProgramNameSize = 64 }; enum { WelcomeMessageProgramNameSize = 64 };
#pragma pack( 1 )
struct WelcomeMessage struct WelcomeMessage
{ {
double timerMul; double timerMul;
@ -42,6 +44,8 @@ struct WelcomeMessage
enum { WelcomeMessageSize = sizeof( WelcomeMessage ) }; enum { WelcomeMessageSize = sizeof( WelcomeMessage ) };
#pragma pack()
} }
#endif #endif