diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 60ac1930..733cd83b 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1361,7 +1361,7 @@ void View::UpdateLockCount( LockMap& lockmap, size_t pos ) break; case LockEvent::Type::Obtain: assert( lockCount < std::numeric_limits::max() ); - assert( ( waitList | tbit ) != 0 ); + assert( ( waitList & tbit ) != 0 ); waitList &= ~tbit; lockingThread = tl->thread; lockCount++;