From b6371bd23520160e7460fdda13994ae9bc9ab4ab Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 13 Jan 2020 00:03:58 +0100 Subject: Add missing cast --- libstorycode/gtk/gtknarrativeview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstorycode/gtk/gtknarrativeview.c b/libstorycode/gtk/gtknarrativeview.c index 6be51c2..dbb5514 100644 --- a/libstorycode/gtk/gtknarrativeview.c +++ b/libstorycode/gtk/gtknarrativeview.c @@ -982,7 +982,7 @@ static void paste_storycode_received(GtkClipboard *cb, GtkSelectionData *seldata } printf("got SC '%s'\n", t); - Narrative *nnew = storycode_parse_presentation(t); + Narrative *nnew = storycode_parse_presentation((char *)t); narrative_debug(nnew); gtknv_emit_change_sig(e); -- cgit v1.2.3