Hide signed/unsigned comparison warning

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-08-26 09:26:54 -07:00
parent 2acdb32e83
commit d6c013f303

View file

@ -921,7 +921,7 @@ static inline struct gasmix *get_gasmix(struct dive *dive, struct divecomputer *
gasmix = &dive->cylinder[cyl].gasmix;
ev = dc->events;
}
while (ev && ev->time.seconds < time) {
while (ev && ev->time.seconds < (unsigned int)time) {
gasmix = get_gasmix_from_event(dive, ev);
ev = get_next_event(ev->next, "gaschange");
}