Silence signed vs. unsigned compare warning

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2013-12-07 23:54:16 +01:00 committed by Dirk Hohndel
parent 1ec61e1288
commit caf4d85d0a

View file

@ -341,7 +341,7 @@ void PrintLayout::printTable()
int tableHeight = 0, lastAccIndex = 0, rowH, accH, headings;
bool isHeading = false;
for (int pass = 0; pass < sizeof(passes) / sizeof(passes[0]); pass++) {
for (unsigned int pass = 0; pass < sizeof(passes) / sizeof(passes[0]); pass++) {
progress = headings = accH = 0;
total = model.rows - lastAccIndex;
for (int i = lastAccIndex; i < model.rows; i++) {