From: John Darrington Date: Sun, 1 Aug 2010 08:24:28 +0000 (+0200) Subject: Avoid compiler warning X-Git-Tag: sav-api~131 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fbuilds%2F20100801040501%2Fpspp;p=pspp Avoid compiler warning --- diff --git a/src/ui/gui/aggregate-dialog.c b/src/ui/gui/aggregate-dialog.c index 744e9cf1b8..a8d1d20e51 100644 --- a/src/ui/gui/aggregate-dialog.c +++ b/src/ui/gui/aggregate-dialog.c @@ -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: