diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 20:10:04 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 21:50:26 -0800 |
commit | 032de3549d5024c908f5ddd736bf569b4411313c (patch) | |
tree | f187fcc9d9deb343ae0e8b9a77b61fad1f111902 | |
parent | 28100e8b7eff248b7e5c0ddb3a043c1056d1772e (diff) | |
download | subsurface-032de3549d5024c908f5ddd736bf569b4411313c.tar.gz |
Clean up signedness confusion in tankitem.cpp
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | profile-widget/tankitem.cpp | 2 |
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; |