From a8194fddc53d7f3517b5a74b736aa1d0cf903913 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 26 Aug 2017 12:15:43 -0700 Subject: Time is unsigned here Signed-off-by: Dirk Hohndel --- core/gaspressures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/gaspressures.c b/core/gaspressures.c index 890eb00b0..3205a00f6 100644 --- a/core/gaspressures.c +++ b/core/gaspressures.c @@ -391,7 +391,7 @@ void populate_pressure_information(struct dive *dive, struct divecomputer *dc, s for (int i = first; i <= last; i++) { struct plot_data *entry = pi->entry + i; unsigned pressure = SENSOR_PRESSURE(entry, sensor); - int time = entry->sec; + unsigned int time = entry->sec; while (ev && ev->time.seconds <= time) { cyl = get_cylinder_index(dive, ev); -- cgit v1.2.3-70-g09d2