Commit 28944cf0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

capabilities are strings

parent 9a719ad0
......@@ -140,7 +140,8 @@ E_(vlc_entry) ( module_t *p_module );
goto error
#define set_capability( cap, score ) \
if (vlc_module_set (p_submodule, VLC_MODULE_CAPABILITY, (int)(cap)) \
if (vlc_module_set (p_submodule, VLC_MODULE_CAPABILITY, \
(const char *)(cap)) \
|| vlc_module_set (p_submodule, VLC_MODULE_SCORE, (int)(score))) \
goto error
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment