From 1e4022e05b9888683c9337244a3106ab11adb432 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 2 Nov 2019 16:21:46 +0100 Subject: [PATCH] Use proper comparison. --- server/TracyWorker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 1b55d085..7052b93f 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -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;