mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +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 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];
|
||||
memcpy( ptr, item+i, dsz );
|
||||
|
Loading…
Reference in New Issue
Block a user