Fix signed vs unsigned comparison.

This commit is contained in:
Bartosz Taudul 2017-09-22 22:05:51 +02:00
parent 6c1d014aa3
commit 893db40bb2

View File

@ -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 );