From d9aef65ea7440d832c1db944f83f8f46e2863c8b Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Wed, 4 Feb 2015 09:37:34 +0100 Subject: Cleanups. --- source/script-dialog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/script-dialog.c') diff --git a/source/script-dialog.c b/source/script-dialog.c index e9234949..26c72ebc 100644 --- a/source/script-dialog.c +++ b/source/script-dialog.c @@ -131,8 +131,9 @@ SwitcherMode script_switcher_dialog ( char **input, void *data ) return retv; } -void script_switcher_free_options ( ScriptOptions *sw ) +void script_switcher_free_options ( void *data ) { + ScriptOptions *sw = (ScriptOptions *) data; if ( sw == NULL ) { return; } -- cgit v1.2.3