[vlc-commits] commit: modules: fix type. ( Rémi Duraffort )
git at videolan.org
git at videolan.org
Tue Oct 19 21:33:58 CEST 2010
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Oct 18 07:20:51 2010 +0200| [081ffed559bb77de1b992b996c43114bd0c4b7e0] | committer: Rémi Duraffort
modules: fix type.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=081ffed559bb77de1b992b996c43114bd0c4b7e0
---
src/modules/entry.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/modules/entry.c b/src/modules/entry.c
index cf99b08..68ec050 100644
--- a/src/modules/entry.c
+++ b/src/modules/entry.c
@@ -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;
More information about the vlc-commits
mailing list