From: P. F. Chimento Date: Wed, 22 Jun 2011 18:18:57 +0000 (+0200) Subject: Fix const pointer warning X-Git-Url: https://git.stderr.nl/gitweb?p=projects%2Fchimara%2Fchimara.git;a=commitdiff_plain;h=fe99604198c1acee70a4a82e5a17a439aaf3acb0 Fix const pointer warning --- diff --git a/libchimara/chimara-if.c b/libchimara/chimara-if.c index 596a433..714eaef 100644 --- a/libchimara/chimara-if.c +++ b/libchimara/chimara-if.c @@ -675,7 +675,7 @@ chimara_if_run_game(ChimaraIF *self, const char *gamefile, GError **error) } /* Game file and external blorb file */ - args = g_slist_prepend(args, gamefile); + args = g_slist_prepend(args, (gpointer)gamefile); if(priv->graphics_file && (interpreter == CHIMARA_IF_INTERPRETER_FROTZ || interpreter == CHIMARA_IF_INTERPRETER_NITFOL) && g_file_test(priv->graphics_file, G_FILE_TEST_EXISTS)) {