1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-02 21:53:52 +00:00

Use proper type for iteration.

This commit is contained in:
Bartosz Taudul 2019-06-22 14:07:26 +02:00
parent 1ea647a1dd
commit 70a7033a64

View File

@ -1740,7 +1740,7 @@ void View::DrawZones()
if( threadData.size() != m_threadOrder.size() ) if( threadData.size() != m_threadOrder.size() )
{ {
m_threadOrder.reserve( threadData.size() ); m_threadOrder.reserve( threadData.size() );
for( int i=m_threadOrder.size(); i<threadData.size(); i++ ) for( size_t i=m_threadOrder.size(); i<threadData.size(); i++ )
{ {
m_threadOrder.push_back( threadData[i] ); m_threadOrder.push_back( threadData[i] );
} }