n is size_t not int
This commit is contained in:
parent
9855a36020
commit
b56cc63286
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue