[vlc-devel] commit: shortcuts are strings ( Rafaël Carré )
git version control
git at videolan.org
Thu May 8 21:57:10 CEST 2008
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu May 8 21:58:29 2008 +0200| [df2a3c1baa163870dcb49a48a789d8485aef76bc]
shortcuts are strings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df2a3c1baa163870dcb49a48a789d8485aef76bc
---
include/vlc_plugin.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/vlc_plugin.h b/include/vlc_plugin.h
index 82fd6c0..134dfe2 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 ) \
More information about the vlc-devel
mailing list