summaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/dive.c')
-rw-r--r--core/dive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.c b/core/dive.c
index 7b37eef38..60b7d1faa 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -3394,7 +3394,7 @@ timestamp_t dive_endtime(const struct dive *dive)
return dive->when + dive_totaltime(dive);
}
-bool time_during_dive_with_offset(struct dive *dive, timestamp_t when, timestamp_t offset)
+bool time_during_dive_with_offset(const struct dive *dive, timestamp_t when, timestamp_t offset)
{
timestamp_t start = dive->when;
timestamp_t end = dive_endtime(dive);