diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-12-17 09:12:08 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-12-17 10:25:01 -0800 |
commit | 6b80b41c7cc8b56ea70447dc4dfaf250fa6f4743 (patch) | |
tree | b25431c0cbb694695b69feaee5f0c5fafd22586c /core/gaspressures.c | |
parent | 648fec7a3d0b65afdc95c71a638d0f792b93adf2 (diff) | |
download | subsurface-6b80b41c7cc8b56ea70447dc4dfaf250fa6f4743.tar.gz |
Cleanup: durations are now signed
Somehow a whitespace fix snuck in here. Oops.
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 206998101..98b574023 100644 --- a/core/gaspressures.c +++ b/core/gaspressures.c @@ -389,7 +389,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); - unsigned int time = entry->sec; + int time = entry->sec; while (ev && ev->time.seconds <= time) { cyl = get_cylinder_index(dive, ev); |