# HG changeset patch # User diego # Date 1284028921 0 # Node ID fe0a396578511043384d69041dbc5f95b70be321 # Parent 23d8b025634abf176a14547ffd57a475e0197a3e Mark libmenu_vfs declaration as const, fixes the warning: mplayer.c:2316: warning: passing argument 1 of 'vf_open_plugin' from incompatible pointer type diff -r 23d8b025634a -r fe0a39657851 mplayer.c --- a/mplayer.c Thu Sep 09 10:39:08 2010 +0000 +++ b/mplayer.c Thu Sep 09 10:42:01 2010 +0000 @@ -308,7 +308,7 @@ #ifdef CONFIG_MENU -static vf_info_t* libmenu_vfs[] = { +static const vf_info_t* const libmenu_vfs[] = { &vf_info_menu, NULL };