summaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-25 11:58:27 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-25 11:58:27 -0700
commiteaf1bdbe5f810d2bd1fd45c489a33c3bd7fd4a51 (patch)
tree577953203debde33457a52ad11d0e5c5cf4425e7 /core/dive.c
parent321a920a9873a3828a24c1b28cf8eb5fe1bff2cb (diff)
parent979f81f4090de1a4e828d2f6c1e5bc810d5e8b58 (diff)
downloadsubsurface-eaf1bdbe5f810d2bd1fd45c489a33c3bd7fd4a51.tar.gz
Merge branch 'filter8' of https://github.com/bstoeger/subsurface
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 535810901..044c969ee 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -4204,7 +4204,7 @@ const char *get_dive_country(const struct dive *dive)
const char *get_dive_location(const struct dive *dive)
{
- struct dive_site *ds = get_dive_site_by_uuid(dive->dive_site_uuid);
+ const struct dive_site *ds = get_dive_site_by_uuid(dive->dive_site_uuid);
if (ds && ds->name)
return ds->name;
return NULL;