summaryrefslogtreecommitdiffstats
path: root/profile-widget/tankitem.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-23 10:11:39 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-23 10:11:39 -0700
commitbff3588c2587fe49efa21ddafaae0800473778b6 (patch)
tree1d7c498db26f2be63b3dde52b49fbf88ed5b98eb /profile-widget/tankitem.cpp
parent0cd07628072272dd0ec98df7beb91455fe0f1759 (diff)
downloadsubsurface-bff3588c2587fe49efa21ddafaae0800473778b6.tar.gz
Undo two more unsigned changes that are no longer needed
With this master should compile without signed / unsigned warning, hopefully without any more breakage. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget/tankitem.cpp')
-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 d76c91fdc..aba41d660 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;
- unsigned int cylIdx = entry->cylinderindex;
+ int cylIdx = entry->cylinderindex;
int i = -1;
int startTime = 0;
struct gasmix *gas = &diveCylinderStore.cylinder[cylIdx].gasmix;