mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
No need to pack WelcomeMessage struct.
This commit is contained in:
parent
bb299a5074
commit
c9d1f59c92
@ -27,7 +27,6 @@ enum ServerQuery : uint8_t
|
|||||||
|
|
||||||
enum { WelcomeMessageProgramNameSize = 64 };
|
enum { WelcomeMessageProgramNameSize = 64 };
|
||||||
|
|
||||||
#pragma pack( 1 )
|
|
||||||
struct WelcomeMessage
|
struct WelcomeMessage
|
||||||
{
|
{
|
||||||
double timerMul;
|
double timerMul;
|
||||||
@ -38,7 +37,6 @@ struct WelcomeMessage
|
|||||||
uint64_t epoch;
|
uint64_t epoch;
|
||||||
char programName[WelcomeMessageProgramNameSize];
|
char programName[WelcomeMessageProgramNameSize];
|
||||||
};
|
};
|
||||||
#pragma pack()
|
|
||||||
|
|
||||||
enum { WelcomeMessageSize = sizeof( WelcomeMessage ) };
|
enum { WelcomeMessageSize = sizeof( WelcomeMessage ) };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user