aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-12-07 23:54:16 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-08 09:41:42 +0100
commitcaf4d85d0a7581dfbfc456ff7c2544466dd44b8a (patch)
tree289b05403f1e4e62414c20683b55ae22c14bfca7
parent1ec61e12881ba35f4b37b130d9dbabb2b15737b4 (diff)
downloadsubsurface-caf4d85d0a7581dfbfc456ff7c2544466dd44b8a.tar.gz
Silence signed vs. unsigned compare warning
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/printlayout.cpp2
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++) {