summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
Diffstat (limited to 'dive.c')
-rw-r--r--dive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.c b/dive.c
index fe2b408ea..145a01883 100644
--- a/dive.c
+++ b/dive.c
@@ -726,7 +726,7 @@ static void fixup_meandepth(struct dive *dive)
static void fixup_duration(struct dive *dive)
{
struct divecomputer *dc;
- int duration = 0;
+ unsigned int duration = 0;
for_each_dc(dive, dc)
duration = MAX(duration, dc->duration.seconds);