From 494a7a7063d75ed67bc88482236a234af2022ac5 Mon Sep 17 00:00:00 2001
From: John Darrington <john@darrington.wattle.id.au>
Date: Sun, 1 Aug 2010 10:24:28 +0200
Subject: [PATCH] Avoid compiler warning

---
 src/ui/gui/aggregate-dialog.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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:
-- 
2.30.2