No need to pack WelcomeMessage struct.

This commit is contained in:
Bartosz Taudul 2018-04-04 18:53:41 +02:00
parent 3e93c615f7
commit d1429d086d

View File

@ -27,7 +27,6 @@ enum ServerQuery : uint8_t
enum { WelcomeMessageProgramNameSize = 64 };
#pragma pack( 1 )
struct WelcomeMessage
{
double timerMul;
@ -38,7 +37,6 @@ struct WelcomeMessage
uint64_t epoch;
char programName[WelcomeMessageProgramNameSize];
};
#pragma pack()
enum { WelcomeMessageSize = sizeof( WelcomeMessage ) };