Time is unsigned here

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-08-26 12:15:43 -07:00
parent 0813d2168a
commit a8194fddc5

View file

@ -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);