From 27c49fe3ad8d1314c5aee5eee34668a494e31aa8 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 20 Oct 2017 17:25:18 -0400 Subject: Silence random warnings None of these seem to point to actual issues, so let's quiet them. Signed-off-by: Dirk Hohndel --- profile-widget/tankitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profile-widget') 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); -- cgit v1.2.3-70-g09d2