mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
Hide signed/unsigned comparison warning
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2acdb32e83
commit
d6c013f303
1 changed files with 1 additions and 1 deletions
|
@ -921,7 +921,7 @@ static inline struct gasmix *get_gasmix(struct dive *dive, struct divecomputer *
|
||||||
gasmix = &dive->cylinder[cyl].gasmix;
|
gasmix = &dive->cylinder[cyl].gasmix;
|
||||||
ev = dc->events;
|
ev = dc->events;
|
||||||
}
|
}
|
||||||
while (ev && ev->time.seconds < time) {
|
while (ev && ev->time.seconds < (unsigned int)time) {
|
||||||
gasmix = get_gasmix_from_event(dive, ev);
|
gasmix = get_gasmix_from_event(dive, ev);
|
||||||
ev = get_next_event(ev->next, "gaschange");
|
ev = get_next_event(ev->next, "gaschange");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue