summaryrefslogtreecommitdiffstats
path: root/profile-widget/diveeventitem.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-07-23 16:12:16 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-07-24 09:53:24 +0900
commit70e1938aa770b99c8c0de2122787a28145da97cb (patch)
tree83fd8b236fc8954ae896207a31c1b164c56e926e /profile-widget/diveeventitem.cpp
parentc1f9cfe9a865eaa288becd1caabe048d9b060fea (diff)
downloadsubsurface-70e1938aa770b99c8c0de2122787a28145da97cb.tar.gz
Avoid compile time warning
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget/diveeventitem.cpp')
-rw-r--r--profile-widget/diveeventitem.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}