diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-07-23 16:12:16 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-07-24 09:53:24 +0900 |
commit | 70e1938aa770b99c8c0de2122787a28145da97cb (patch) | |
tree | 83fd8b236fc8954ae896207a31c1b164c56e926e /profile-widget | |
parent | c1f9cfe9a865eaa288becd1caabe048d9b060fea (diff) | |
download | subsurface-70e1938aa770b99c8c0de2122787a28145da97cb.tar.gz |
Avoid compile time warning
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget')
-rw-r--r-- | profile-widget/diveeventitem.cpp | 2 |
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; } |