mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +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() ) );
|
const auto parent = GetZoneParent( *ev.Zone(), m_worker.DecompressThread( ev.Thread() ) );
|
||||||
if( parent )
|
if( parent )
|
||||||
{
|
{
|
||||||
group = &m_findZone.groups[uint64_t( parent->SrcLoc() )];
|
group = &m_findZone.groups[uint64_t( uint16_t( parent->SrcLoc() ) )];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user