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:
hiker 2015-07-26 00:32:11 +10:00
parent a9aa37ea97
commit d9e806f610

View File

@ -450,8 +450,8 @@ void RaceResultGUI::determineTableLayout()
m_width_kart_name = 0;
float max_finish_time = 0;
for (unsigned int source_pos = 1, dest_pos = 0;
dest_pos < num_karts; source_pos++, dest_pos++)
for (int source_pos = 1, dest_pos = 0;
dest_pos < num_karts; source_pos++, dest_pos++)
{
const AbstractKart *kart = rank_world->getKartAtPosition(source_pos);