mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Fix parent identifier extension to 64 bits.
Source location identifiers are signed 16 bits. Extending this value to 64 bits without first casting it to unsigned 16 bit caused bit extension of the sign bit, making the value clash with "unselected" group identifier.
This commit is contained in:
parent
55d03cb03e
commit
46dc85c10c
@ -9187,7 +9187,7 @@ void View::DrawFindZone()
|
||||
const auto parent = GetZoneParent( *ev.Zone(), m_worker.DecompressThread( ev.Thread() ) );
|
||||
if( parent )
|
||||
{
|
||||
group = &m_findZone.groups[uint64_t( parent->SrcLoc() )];
|
||||
group = &m_findZone.groups[uint64_t( uint16_t( parent->SrcLoc() ) )];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user