Made array.h const correct, and dealt with the consequences.
[pspp-builds.git] / src / language / stats / descriptives.c
index a68f17c385759fa49d0ef85a0e00294f7cdf8162..f07baece56ce2eb0dc40efee19a0d337189ec888 100644 (file)
@@ -939,11 +939,11 @@ display (struct dsc_proc *dsc)
 /* Compares `struct dsc_var's A and B according to the ordering
    specified by CMD. */
 static int
-descriptives_compare_dsc_vars (const void *a_, const void *b_, void *dsc_)
+descriptives_compare_dsc_vars (const void *a_, const void *b_, const void *dsc_)
 {
   const struct dsc_var *a = a_;
   const struct dsc_var *b = b_;
-  struct dsc_proc *dsc = dsc_;
+  const struct dsc_proc *dsc = dsc_;
 
   int result;