summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile.c b/profile.c
index 53c50e303..7296733df 100644
--- a/profile.c
+++ b/profile.c
@@ -336,7 +336,7 @@ int get_cylinder_index(struct dive *dive, struct event *ev)
return best;
}
-struct event *get_next_event(struct event *event, char *name)
+struct event *get_next_event(struct event *event, const char *name)
{
if (!name || !*name)
return NULL;