summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-11 11:15:03 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-11 11:15:03 -0700
commitddff93f096be8e8c8670b9bf526ccf67545720af (patch)
tree7c08f9f9026875be270fd3f7b4ac23fd0056646b /dive.h
parent22eb8e06177fb395a03c9404e46d48fbc3f5cf37 (diff)
downloadsubsurface-ddff93f096be8e8c8670b9bf526ccf67545720af.tar.gz
Event name should be a const char *
This avoids a possible warning when calling this function with a string literal as second argument. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index e189b860d..528b45a4b 100644
--- a/dive.h
+++ b/dive.h
@@ -811,7 +811,7 @@ void dump_plan(struct diveplan *diveplan);
int plan(struct diveplan *diveplan, char **cached_datap, bool is_planner, bool show_disclaimer);
void delete_single_dive(int idx);
-struct event *get_next_event(struct event *event, char *name);
+struct event *get_next_event(struct event *event, const char *name);
/* these structs holds the information that