From d6c013f3039892c788411c8641688fa9cb6c97e5 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 26 Aug 2017 09:26:54 -0700 Subject: Hide signed/unsigned comparison warning Signed-off-by: Dirk Hohndel --- core/dive.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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"); } -- cgit v1.2.3-70-g09d2