Commit 081ffed5 authored by Rémi Duraffort's avatar Rémi Duraffort

modules: fix type.

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