Fix compiler warning
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 22 Jan 2016 10:18:22 +0000 (11:18 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 22 Jan 2016 16:39:48 +0000 (17:39 +0100)
src/ui/gui/psppire-dialog-action-recode.c

index efbd6e604270c3273e270c2afcc56c93f508faea..3ed1b663e3301afea731534adad26d3983c5bf1e 100644 (file)
@@ -876,9 +876,11 @@ new_value_append_syntax (struct string *dds, const struct new_value *nv)
     }
 }
 
+
 static char *
-generate_syntax (const PsppireDialogActionRecode *rd)
+generate_syntax (PsppireDialogAction *act)
 {
+  PsppireDialogActionRecode *rd = PSPPIRE_DIALOG_ACTION_RECODE (act);
   gboolean ok;
   GtkTreeIter iter;
   gchar *text;