diff options
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; } |