Avoid compiler warning
[pspp] / src / ui / gui / aggregate-dialog.c
index 744e9cf1b8ffffae5eb0d0f884608b148bff7f69..a8d1d20e51ccde9faa5055100820c7b5be76f97d 100644 (file)
@@ -356,9 +356,9 @@ enum
 /* Set VAL to the value appropriate for COL according to the
    current state of the dialog */
 static gboolean
-get_summary_spec (gint col, GValue *val,
-                 const struct aggregate *agg)
+get_summary_spec (gint col, GValue *val, gpointer data)
 {
+  const struct aggregate *agg = data;
   switch (col)
     {
     case SUMMARY_COL_VARNAME: