mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Avoid compile time warning
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c1f9cfe9a8
commit
70e1938aa7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue