aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2020-01-13 00:03:58 +0100
committerThomas White <taw@bitwiz.me.uk>2020-01-13 00:03:58 +0100
commitb6371bd23520160e7460fdda13994ae9bc9ab4ab (patch)
treedeec635724603b734035f4a961a1d9b0d4d5e252
parent07fb4674904bac673ddbb5d6ce4afbe959c4dcd3 (diff)
Add missing cast
-rw-r--r--libstorycode/gtk/gtknarrativeview.c2
1 files changed, 1 insertions, 1 deletions
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);