diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-08-26 09:26:54 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-08-26 09:38:52 -0700 |
commit | d6c013f3039892c788411c8641688fa9cb6c97e5 (patch) | |
tree | c34138dffedaee235466f93bea0fdbba597ae453 | |
parent | 2acdb32e83a6d7efd2c819f0efe333169e98fc39 (diff) | |
download | subsurface-d6c013f3039892c788411c8641688fa9cb6c97e5.tar.gz |
Hide signed/unsigned comparison warning
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | core/dive.h | 2 |
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"); } |