diff src/modplug/plugin.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 94b22cc75eb8
children 1233d2efceab
line wrap: on
line diff
--- a/src/modplug/plugin.cxx	Fri May 18 10:42:29 2007 -0700
+++ b/src/modplug/plugin.cxx	Sun May 20 12:05:48 2007 -0700
@@ -75,7 +75,7 @@
 	ShowInfoWindow(aFilename);
 }
 
-gchar *fmts[] =
+const gchar *fmts[] =
 	{ "amf", "ams", "dbm", "dbf", "dsm", "far", "mdl", "stm", "ult", "j2b", "mt2",
 	  "mdz", "mdr", "mdgz", "mdbz", "mod", "s3z", "s3r", "s3gz", "s3m", "xmz", "xmr", "xmgz",
 	  "itz", "itr", "itgz", "dmf", "umx", "it", "669", "xm", "mtm", "psm", "ft2", NULL };
@@ -84,7 +84,7 @@
 {
 	NULL,
 	NULL,
-	"ModPlug Player",
+	(gchar *)"ModPlug Player",
 	Init,
 	ShowAboutBox,
 	ShowConfigureBox,
@@ -110,7 +110,7 @@
 	NULL,
 	NULL,
 	CanPlayFileFromVFS,	// vfs
-	fmts,
+	(gchar **)fmts,
 };
 
 extern "C"