summaryrefslogtreecommitdiffstats
path: root/profile-widget/tankitem.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-20 17:25:18 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-20 17:25:18 -0400
commit27c49fe3ad8d1314c5aee5eee34668a494e31aa8 (patch)
tree0b0ed3a27f7c750873854c4ac730a59387c351e5 /profile-widget/tankitem.cpp
parent12dac214aa96eb755f975f3eae464e4abd80ad76 (diff)
downloadsubsurface-27c49fe3ad8d1314c5aee5eee34668a494e31aa8.tar.gz
Silence random warnings
None of these seem to point to actual issues, so let's quiet them. 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 c4c1aeeee..24c13aed6 100644
--- a/profile-widget/tankitem.cpp
+++ b/profile-widget/tankitem.cpp
@@ -110,7 +110,7 @@ void TankItem::modelDataChanged(const QModelIndex &topLeft, const QModelIndex &b
// work through all the gas changes and add the rectangle for each gas while it was used
struct event *ev = get_next_event(dc->events, "gaschange");
- while (ev && ev->time.seconds < last_entry->sec) {
+ while (ev && (int)ev->time.seconds < last_entry->sec) {
width = hAxis->posAtValue(ev->time.seconds) - hAxis->posAtValue(startTime);
left = hAxis->posAtValue(startTime);
createBar(left, width, gasmix);