From 37405bafde48566019d69f9bb18aaa3631d764bf Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 12 Sep 2017 00:28:50 +0200 Subject: [PATCH] Pack queue item. --- client/TracyQueue.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/TracyQueue.hpp b/client/TracyQueue.hpp index 2fcd4b50..5b2925c4 100755 --- a/client/TracyQueue.hpp +++ b/client/TracyQueue.hpp @@ -12,6 +12,8 @@ enum class QueueType : uint8_t ZoneEnd }; +#pragma pack( 1 ) + struct QueueZoneBegin { uint64_t id; @@ -36,6 +38,8 @@ struct QueueItem }; }; +#pragma pack() + enum { QueueItemSize = sizeof( QueueItem ) }; };