changeset 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 53dd8641b4d1
children c2622a939e9e
files src/audacious/plugin.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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; \