mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Pack WelcomeMessage.
This commit is contained in:
parent
43d5ab4382
commit
32ca54a523
@ -28,6 +28,8 @@ enum ServerQuery : uint8_t
|
|||||||
|
|
||||||
enum { WelcomeMessageProgramNameSize = 64 };
|
enum { WelcomeMessageProgramNameSize = 64 };
|
||||||
|
|
||||||
|
#pragma pack( 1 )
|
||||||
|
|
||||||
struct WelcomeMessage
|
struct WelcomeMessage
|
||||||
{
|
{
|
||||||
double timerMul;
|
double timerMul;
|
||||||
@ -42,6 +44,8 @@ struct WelcomeMessage
|
|||||||
|
|
||||||
enum { WelcomeMessageSize = sizeof( WelcomeMessage ) };
|
enum { WelcomeMessageSize = sizeof( WelcomeMessage ) };
|
||||||
|
|
||||||
|
#pragma pack()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user