summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-26 09:26:54 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-26 09:38:52 -0700
commitd6c013f3039892c788411c8641688fa9cb6c97e5 (patch)
treec34138dffedaee235466f93bea0fdbba597ae453
parent2acdb32e83a6d7efd2c819f0efe333169e98fc39 (diff)
downloadsubsurface-d6c013f3039892c788411c8641688fa9cb6c97e5.tar.gz
Hide signed/unsigned comparison warning
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--core/dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h
index 350331d95..1f007182d 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -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");
}