From 032de3549d5024c908f5ddd736bf569b4411313c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 9 Mar 2016 20:10:04 -0800 Subject: [PATCH] Clean up signedness confusion in tankitem.cpp Signed-off-by: Dirk Hohndel --- profile-widget/tankitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;