From 4d18755d6a6e6e04a252bd2ccef1ad3e45da184e Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 22 Jan 2016 11:18:22 +0100 Subject: [PATCH] Fix compiler warning --- src/ui/gui/psppire-dialog-action-recode.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/gui/psppire-dialog-action-recode.c b/src/ui/gui/psppire-dialog-action-recode.c index efbd6e6042..3ed1b663e3 100644 --- a/src/ui/gui/psppire-dialog-action-recode.c +++ b/src/ui/gui/psppire-dialog-action-recode.c @@ -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; -- 2.30.2