1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Use short ptr for message data.

This commit is contained in:
Bartosz Taudul
2019-11-02 16:32:42 +01:00
parent 52062f96d0
commit 72efbe28ed
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -5506,7 +5506,7 @@ void Worker::Write( FileWrite& f )
f.Write( &sz, sizeof( sz ) );
for( auto& v : m_data.messages )
{
const auto ptr = (uint64_t)v;
const auto ptr = (uint64_t)(MessageData*)v;
f.Write( &ptr, sizeof( ptr ) );
WriteTimeOffset( f, refTime, v->time );
f.Write( &v->ref, sizeof( v->ref ) );