Changed unsigned int to int (dest_pos can become negative, and
while de-facto it still works with unsigned, it's just bad style :) ).
This commit is contained in:
parent
a9aa37ea97
commit
d9e806f610
@ -450,7 +450,7 @@ void RaceResultGUI::determineTableLayout()
|
||||
m_width_kart_name = 0;
|
||||
float max_finish_time = 0;
|
||||
|
||||
for (unsigned int source_pos = 1, dest_pos = 0;
|
||||
for (int source_pos = 1, dest_pos = 0;
|
||||
dest_pos < num_karts; source_pos++, dest_pos++)
|
||||
{
|
||||
const AbstractKart *kart = rank_world->getKartAtPosition(source_pos);
|
||||
|
Loading…
Reference in New Issue
Block a user