From: Rafaël Carré Date: Thu, 8 May 2008 19:58:29 +0000 (+0200) Subject: shortcuts are strings X-Git-Tag: 0.9.0-test0~1047 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=df2a3c1baa163870dcb49a48a789d8485aef76bc;p=vlc shortcuts are strings --- diff --git a/include/vlc_plugin.h b/include/vlc_plugin.h index 82fd6c0375..134dfe213f 100644 --- a/include/vlc_plugin.h +++ b/include/vlc_plugin.h @@ -122,7 +122,8 @@ E_(vlc_entry) ( module_t *p_module ); goto error #define add_shortcut( shortcut ) \ - if (vlc_module_set (p_submodule, VLC_MODULE_SHORTCUT, (int)(shortcut))) \ + if (vlc_module_set (p_submodule, VLC_MODULE_SHORTCUT, \ + (const char *)(shortcut))) \ goto error #define set_shortname( shortname ) \