From 32ca54a523f221a31471e7bb67f66790d948e882 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 10 Jul 2018 22:29:31 +0200 Subject: [PATCH] Pack WelcomeMessage. --- common/TracyProtocol.hpp | 4 ++++ 1 file changed, 4 insertions(+) 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