mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Cast thread id to uint32_t
Fix MSVC Warning C4244: 'argument': conversion from 'uint64_t' to 'uint32_t', possible loss of data We only store 32 bit thread ids in ThreadNameData. Trying to follow existing style instead of static_cast.
This commit is contained in:
parent
5ce238e9b4
commit
7d8432bbec
@ -3442,7 +3442,7 @@ bool Profiler::HandleServerQuery()
|
||||
}
|
||||
else
|
||||
{
|
||||
SendString( ptr, GetThreadName( ptr ), QueueType::ThreadName );
|
||||
SendString( ptr, GetThreadName( (uint32_t)ptr ), QueueType::ThreadName );
|
||||
}
|
||||
break;
|
||||
case ServerQuerySourceLocation:
|
||||
|
Loading…
Reference in New Issue
Block a user