mirror of
https://github.com/wolfpld/tracy.git
synced 2024-12-02 09:44:35 +00:00
Fix signed vs unsigned comparison.
This commit is contained in:
parent
6c1d014aa3
commit
893db40bb2
@ -152,7 +152,7 @@ void Profiler::Worker()
|
|||||||
{
|
{
|
||||||
auto buf = m_buffer + m_bufferOffset;
|
auto buf = m_buffer + m_bufferOffset;
|
||||||
auto ptr = buf;
|
auto ptr = buf;
|
||||||
for( int i=0; i<sz; i++ )
|
for( size_t i=0; i<sz; i++ )
|
||||||
{
|
{
|
||||||
const auto dsz = QueueDataSize[item[i].hdr.idx];
|
const auto dsz = QueueDataSize[item[i].hdr.idx];
|
||||||
memcpy( ptr, item+i, dsz );
|
memcpy( ptr, item+i, dsz );
|
||||||
|
Loading…
Reference in New Issue
Block a user