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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user