summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 20:10:04 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 21:50:26 -0800
commit032de3549d5024c908f5ddd736bf569b4411313c (patch)
treef187fcc9d9deb343ae0e8b9a77b61fad1f111902
parent28100e8b7eff248b7e5c0ddb3a043c1056d1772e (diff)
downloadsubsurface-032de3549d5024c908f5ddd736bf569b4411313c.tar.gz
Clean up signedness confusion in tankitem.cpp
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--profile-widget/tankitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/tankitem.cpp b/profile-widget/tankitem.cpp
index aba41d660..d76c91fdc 100644
--- a/profile-widget/tankitem.cpp
+++ b/profile-widget/tankitem.cpp
@@ -93,7 +93,7 @@ void TankItem::modelDataChanged(const QModelIndex &topLeft, const QModelIndex &b
// walk the list and figure out which tanks go where
struct plot_data *entry = pInfoEntry;
- int cylIdx = entry->cylinderindex;
+ unsigned int cylIdx = entry->cylinderindex;
int i = -1;
int startTime = 0;
struct gasmix *gas = &diveCylinderStore.cylinder[cylIdx].gasmix;