From 6b80b41c7cc8b56ea70447dc4dfaf250fa6f4743 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 17 Dec 2017 09:12:08 -0800 Subject: Cleanup: durations are now signed Somehow a whitespace fix snuck in here. Oops. Signed-off-by: Dirk Hohndel --- core/statistics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/statistics.c') diff --git a/core/statistics.c b/core/statistics.c index d2a8d8ae2..13bcc4a97 100644 --- a/core/statistics.c +++ b/core/statistics.c @@ -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; -- cgit v1.2.3-70-g09d2