diff src/console/Audacious_Driver.cxx @ 1044:b1128efde471 trunk

[svn] - get rid of all warnings gcc 4.2.0 emits with my build configuration. - fix for minor bugs.
author yaz
date Sun, 20 May 2007 12:05:48 -0700
parents 560292f1ebb3
children f04f4a223f7b
line wrap: on
line diff
--- a/src/console/Audacious_Driver.cxx	Fri May 18 10:42:29 2007 -0700
+++ b/src/console/Audacious_Driver.cxx	Sun May 20 12:05:48 2007 -0700
@@ -477,7 +477,7 @@
 	}
 }
 
-gchar *gme_fmts[] = { "ay", "gbs", "gym", "hes", "kss", "nsf", "nsfe", 
+const gchar *gme_fmts[] = { "ay", "gbs", "gym", "hes", "kss", "nsf", "nsfe", 
 		      "sap", "spc", "vgm", "vgz", NULL };
 
 InputPlugin console_ip =
@@ -510,7 +510,7 @@
 	NULL,
 	NULL,
 	is_our_file_from_vfs,
-	gme_fmts
+	(gchar **)gme_fmts
 };
 
 extern "C" InputPlugin *get_iplugin_info(void)