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

Store pointers as uint64.

Pointers can't be stored as pointers, as that would cause mismatch in
wire protocol between 32 and 64 bit builds.
This commit is contained in:
Bartosz Taudul
2017-09-13 01:24:42 +02:00
parent e8d64de5c1
commit 997f0c64c3
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ public:
ScopedZone( const char* file, const char* function, uint32_t line )
: m_id( Profiler::GetNewId() )
{
Profiler::ZoneBegin( QueueZoneBegin { m_id, file, function, line } );
Profiler::ZoneBegin( QueueZoneBegin { m_id, (uint64_t)file, (uint64_t)function, line } );
}
~ScopedZone()