Fix const pointer warning
authorP. F. Chimento <philip.chimento@gmail.com>
Wed, 22 Jun 2011 18:18:57 +0000 (20:18 +0200)
committerP. F. Chimento <philip.chimento@gmail.com>
Wed, 22 Jun 2011 18:18:57 +0000 (20:18 +0200)
libchimara/chimara-if.c

index 596a433b6363fb8ad151ccd5635e83d05c013047..714eaef1477a23d1b9047ed7a194ab6e3f1f719d 100644 (file)
@@ -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)) {