No need to pack WelcomeMessage struct.

This commit is contained in:
Bartosz Taudul 2018-04-04 18:53:41 +02:00
parent bb299a5074
commit c9d1f59c92

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 ) };