mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 19:53:24 +00:00
Time is unsigned here
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0813d2168a
commit
a8194fddc5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue