diff options
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/printlayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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++) { |