]> git.sesse.net Git - vlc/commitdiff
shortcuts are strings
authorRafaël Carré <funman@videolan.org>
Thu, 8 May 2008 19:58:29 +0000 (21:58 +0200)
committerRafaël Carré <funman@videolan.org>
Thu, 8 May 2008 19:58:29 +0000 (21:58 +0200)
include/vlc_plugin.h

index 82fd6c0375c96e5b11895bb4f465917f1fea02ef..134dfe213fad274636f8a694b2218f9921e2b066 100644 (file)
@@ -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 ) \