Use proper comparison.

This commit is contained in:
Bartosz Taudul 2019-11-02 16:21:46 +01:00
parent 03656b2320
commit 1e4022e05b

View File

@ -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;