Fix loading old traces when skipping locks.

This commit is contained in:
Bartosz Taudul 2019-03-26 20:25:29 +01:00
parent fe675b91be
commit 99fca9e069

View File

@ -707,7 +707,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask )
}
else
{
f.Skip( tsz * ( type == LockType::Lockable ? sizeof( LockEvent ) : sizeof( LockEventShared ) ) );
f.Skip( tsz * ( type == LockType::Lockable ? 24 : 40 ) );
}
}
}