From 9618ee3581e03b7bb4ccaadea2b5161520a7357f Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 15 Aug 2019 22:24:27 +0200 Subject: [PATCH] Fix skipping locks. --- server/TracyWorker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index bfb31f62..2bc4279e 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -767,7 +767,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask ) f.Read( tsz ); if( fileVer >= FileVersion( 0, 5, 2 ) ) { - f.Skip( tsz * ( sizeof( int64_t ) + sizeof( LockEvent::type ) + sizeof( int16_t ) + sizeof( LockEvent::thread ) ) ); + f.Skip( tsz * ( sizeof( LockEvent::_time_srcloc ) + sizeof( LockEvent::thread ) + sizeof( LockEvent::type ) ) ); } else {