mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 05:03:53 +00:00
Use proper type.
This commit is contained in:
parent
011253ac47
commit
742e4e2893
@ -1083,7 +1083,7 @@ void View::UpdateLockCount( LockMap& lockmap, size_t pos )
|
||||
|
||||
while( pos != end )
|
||||
{
|
||||
const auto tbit = 1 << timeline[pos]->thread;
|
||||
const auto tbit = uint64_t( 1 ) << timeline[pos]->thread;
|
||||
switch( timeline[pos]->type )
|
||||
{
|
||||
case LockEvent::Type::Wait:
|
||||
@ -2133,7 +2133,7 @@ int View::DrawZoneLevel( const Vector<ZoneEvent*>& vec, bool hover, double pxns,
|
||||
|
||||
static inline bool IsThreadWaiting( uint64_t bitlist, uint8_t thread )
|
||||
{
|
||||
return ( bitlist & ( 1 << thread ) ) != 0;
|
||||
return ( bitlist & ( uint64_t( 1 ) << thread ) ) != 0;
|
||||
}
|
||||
|
||||
int View::DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos, int _offset, LockHighlight& highlight )
|
||||
|
Loading…
x
Reference in New Issue
Block a user