From: John Darrington Date: Fri, 22 Jan 2016 10:18:22 +0000 (+0100) Subject: Fix compiler warning X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=4d18755d6a6e6e04a252bd2ccef1ad3e45da184e Fix compiler warning --- 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;