diff --git a/common/TracyProtocol.hpp b/common/TracyProtocol.hpp index e89cc8a2..4612a9cf 100644 --- a/common/TracyProtocol.hpp +++ b/common/TracyProtocol.hpp @@ -28,6 +28,8 @@ enum ServerQuery : uint8_t enum { WelcomeMessageProgramNameSize = 64 }; +#pragma pack( 1 ) + struct WelcomeMessage { double timerMul; @@ -42,6 +44,8 @@ struct WelcomeMessage enum { WelcomeMessageSize = sizeof( WelcomeMessage ) }; +#pragma pack() + } #endif