Cleanup: durations are now signed

Somehow a whitespace fix snuck in here. Oops.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-12-17 09:12:08 -08:00
parent 648fec7a3d
commit 6b80b41c7c
4 changed files with 6 additions and 6 deletions

View file

@ -48,7 +48,7 @@ static void process_temperatures(struct dive *dp, stats_t *stats)
static void process_dive(struct dive *dp, stats_t *stats)
{
int old_tadt, sac_time = 0;
uint32_t duration = dp->duration.seconds;
int32_t duration = dp->duration.seconds;
old_tadt = stats->total_average_depth_time.seconds;
stats->total_time.seconds += duration;