Descriptives: Constness
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 25 Jul 2019 14:46:16 +0000 (16:46 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 26 Jul 2019 10:44:11 +0000 (12:44 +0200)
src/language/stats/descriptives.c

index e2cb058aa9048c40511b963ec1724e55121fd0ef..a4b8e53b8344e5b5e31b9665904f5153ebb660fa 100644 (file)
@@ -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));