From caf4d85d0a7581dfbfc456ff7c2544466dd44b8a Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Sat, 7 Dec 2013 23:54:16 +0100 Subject: Silence signed vs. unsigned compare warning Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- qt-ui/printlayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp index 43e747ef7..dad940fbb 100644 --- a/qt-ui/printlayout.cpp +++ b/qt-ui/printlayout.cpp @@ -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++) { -- cgit v1.2.3-70-g09d2