Fix skipping locks.

This commit is contained in:
Bartosz Taudul 2019-08-15 22:24:27 +02:00
parent e43a57f6b3
commit 9618ee3581

View File

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