summaryrefslogtreecommitdiffstats
path: root/core/save-html.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/save-html.c')
-rw-r--r--core/save-html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/save-html.c b/core/save-html.c
index 38f48e8c4..413718692 100644
--- a/core/save-html.c
+++ b/core/save-html.c
@@ -273,7 +273,7 @@ void put_HTML_depth(struct membuffer *b, struct dive *dive, const char *pre, con
{
const char *unit;
double value;
- struct units *units_p = get_units();
+ const struct units *units_p = get_units();
if (!dive->maxdepth.mm) {
put_format(b, "%s--%s", pre, post);