From 70e1938aa770b99c8c0de2122787a28145da97cb Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 23 Jul 2016 16:12:16 +0900 Subject: Avoid compile time warning Signed-off-by: Dirk Hohndel --- profile-widget/diveeventitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profile-widget/diveeventitem.cpp') diff --git a/profile-widget/diveeventitem.cpp b/profile-widget/diveeventitem.cpp index 5215ff81f..bd7c012bd 100644 --- a/profile-widget/diveeventitem.cpp +++ b/profile-widget/diveeventitem.cpp @@ -186,7 +186,7 @@ bool DiveEventItem::shouldBeHidden() */ if (!strcmp(event->name, "surface")) { int time = event->time.seconds; - if (time <= 30 || time + 30 >= dc->duration.seconds) + if (time <= 30 || time + 30 >= (int)dc->duration.seconds) return true; } -- cgit v1.2.3-70-g09d2