Fix MSVC Warning C4244: 'argument': conversion from 'uint64_t' to 'uint32_t', possible loss of data
Since public\client\TracyProfiler.cpp is included in client code, it'd be nice to clean up this warning. It's the only warning I saw compiling v0.10 with VS2022.
We only store 32 bit thread ids in ThreadNameData. Looks like Windows threadids (DWORD) and Linux process ids (pid_t) are 32 bits so it seems fine.
Trying to follow existing style instead of static_cast.
Fix MSVC Warning C4244: 'argument': conversion from 'uint64_t' to 'uint32_t', possible loss of data
Since public\client\TracyProfiler.cpp is included in client code, it'd be nice to clean up this warning. It's the only warning I saw compiling v0.10 with VS2022.
We only store 32 bit thread ids in ThreadNameData. Looks like Windows threadids (
DWORD
) and Linux process ids (pid_t
) are 32 bits so it seems fine.Trying to follow existing style instead of static_cast.