From: John Darrington Date: Thu, 25 Jul 2019 14:46:16 +0000 (+0200) Subject: Descriptives: Constness X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d416357a9e9c23251ff1357f0f1c3ba5ac48223e;p=pspp Descriptives: Constness --- diff --git a/src/language/stats/descriptives.c b/src/language/stats/descriptives.c index e2cb058aa9..a4b8e53b83 100644 --- a/src/language/stats/descriptives.c +++ b/src/language/stats/descriptives.c @@ -1004,7 +1004,7 @@ display (struct dsc_proc *dsc) table, PIVOT_AXIS_ROW, N_("Variable")); for (size_t i = 0; i < dsc->var_cnt; i++) { - struct dsc_var *dv = &dsc->vars[i]; + const struct dsc_var *dv = &dsc->vars[i]; int row = pivot_category_create_leaf (variables->root, pivot_value_new_variable (dv->v));