summaryrefslogtreecommitdiffstats
path: root/subsurface-core/dive.c
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/dive.c')
-rw-r--r--subsurface-core/dive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-core/dive.c b/subsurface-core/dive.c
index cad2a85cc..ccb27aaf7 100644
--- a/subsurface-core/dive.c
+++ b/subsurface-core/dive.c
@@ -3252,7 +3252,7 @@ void set_informational_units(char *units)
}
}
-void average_max_depth(struct diveplan *dive, unsigned int *avg_depth, unsigned int *max_depth)
+void average_max_depth(struct diveplan *dive, int *avg_depth, int *max_depth)
{
int integral = 0;
int last_time = 0;