diff src/audacious/plugin.h @ 2841:b2fb6a4e02b8 trunk

add a cast to DECLARE_PLUGIN() to suppress warnings.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Sun, 17 Jun 2007 10:14:02 +0900
parents c799098c396f
children 9976e065e2f5
line wrap: on
line diff
--- a/src/audacious/plugin.h	Sat Jun 16 20:29:46 2007 +0200
+++ b/src/audacious/plugin.h	Sun Jun 17 10:14:02 2007 +0900
@@ -108,7 +108,7 @@
 #define DECLARE_PLUGIN(name, init, fini, ip_list, op_list, ep_list, gp_list, vp_list) \
 	G_BEGIN_DECLS \
 	static PluginHeader _pluginInfo = { PLUGIN_MAGIC, __AUDACIOUS_PLUGIN_API__, \
-		#name, init, fini, NULL, ip_list, op_list, ep_list, gp_list, \
+		(gchar *)#name, init, fini, NULL, ip_list, op_list, ep_list, gp_list, \
 		vp_list }; \
 	PluginHeader *get_plugin_info(void) { \
 		return &_pluginInfo; \