diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-08-26 12:15:43 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-08-26 12:15:43 -0700 |
commit | a8194fddc53d7f3517b5a74b736aa1d0cf903913 (patch) | |
tree | dfa1260222c97f15e41c2241d856a4c8f3f90a38 /core/gaspressures.c | |
parent | 0813d2168a8b7d85d2d12c042508ce1ed2d98fda (diff) | |
download | subsurface-a8194fddc53d7f3517b5a74b736aa1d0cf903913.tar.gz |
Time is unsigned here
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/gaspressures.c')
-rw-r--r-- | core/gaspressures.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |