Commit 081ffed5 authored by ivoire's avatar ivoire
Browse files

modules: fix type.

parent f0d13543
...@@ -193,8 +193,8 @@ int vlc_plugin_set (module_t *module, module_config_t *item, int propid, ...) ...@@ -193,8 +193,8 @@ int vlc_plugin_set (module_t *module, module_config_t *item, int propid, ...)
assert(i_shortcuts + index <= MODULE_SHORTCUT_MAX); assert(i_shortcuts + index <= MODULE_SHORTCUT_MAX);
const char *const *tab = va_arg (ap, const char *const *); const char *const *tab = va_arg (ap, const char *const *);
const char **pp = realloc (module->pp_shortcuts, char **pp = realloc (module->pp_shortcuts,
sizeof (pp[0]) * (index + i_shortcuts)); sizeof (pp[0]) * (index + i_shortcuts));
if (unlikely(pp == NULL)) if (unlikely(pp == NULL))
{ {
ret = -1; ret = -1;
......
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