Avoid compile time warning
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c1f9cfe9a8
commit
70e1938aa7
@ -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…
x
Reference in New Issue
Block a user