# HG changeset patch # User Yoshiki Yazawa # Date 1182042842 -32400 # Node ID b2fb6a4e02b86751a691bb65381710965d99457a # Parent 53dd8641b4d1df60a2f758ecb3e201b11c0ada8f add a cast to DECLARE_PLUGIN() to suppress warnings. diff -r 53dd8641b4d1 -r b2fb6a4e02b8 src/audacious/plugin.h --- 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; \