n is size_t not int

This commit is contained in:
Jon Daniel 2005-06-03 12:18:13 +00:00
parent 9855a36020
commit b56cc63286

View file

@ -1809,9 +1809,9 @@ void turn_info::status_table()
//cause it to be displayed in the correct colour
if(leader != units_.end()) {
str << IMAGE_PREFIX << leader->second.type().image() << COLUMN_SEPARATOR
<< "\027[3" << lexical_cast<char, int>(n+1) << 'm' << leader->second.description() << COLUMN_SEPARATOR;
<< "\027[3" << lexical_cast<char, size_t>(n+1) << 'm' << leader->second.description() << COLUMN_SEPARATOR;
} else {
str << ' ' << COLUMN_SEPARATOR << "\027[3" << lexical_cast<char, int>(n+1) << "m-" << COLUMN_SEPARATOR;
str << ' ' << COLUMN_SEPARATOR << "\027[3" << lexical_cast<char, size_t>(n+1) << "m-" << COLUMN_SEPARATOR;
}
if(enemy) {