mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Use proper comparison.
This commit is contained in:
parent
03656b2320
commit
1e4022e05b
@ -4665,7 +4665,7 @@ void Worker::ProcessContextSwitch( const QueueContextSwitch& ev )
|
||||
}
|
||||
else
|
||||
{
|
||||
assert( data.empty() || (uint64_t)data.back().End() <= time );
|
||||
assert( data.empty() || (uint64_t)data.back().End() <= (uint64_t)time );
|
||||
if( !data.empty() )
|
||||
{
|
||||
migration = data.back().Cpu() != ev.cpu;
|
||||
|
Loading…
Reference in New Issue
Block a user