eliminate remained compiler warnings

This commit is contained in:
Andrzej Rybczak
2008-12-12 22:50:22 +01:00
parent aac3ce17ee
commit c71f07df6d
5 changed files with 10 additions and 10 deletions

View File

@@ -475,7 +475,7 @@ string DisplayColumns(string st)
if (result.length() > where)
result = result.substr(0, where);
else
for (int i = result.length(); i <= where && i < COLS; i++, result += ' ') { }
for (size_t i = result.length(); i <= where && i < size_t(COLS); i++, result += ' ') { }
}
return result;
}