Fix compiler warning
[pspp] / 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;