Avoid compiler warning 20100801040501/pspp 20100802040501/pspp 20100803040504/pspp 20100804040501/pspp 20100805040502/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 1 Aug 2010 08:24:28 +0000 (10:24 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 1 Aug 2010 08:24:28 +0000 (10:24 +0200)
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: