changeset 32026:fe0a39657851

Mark libmenu_vfs declaration as const, fixes the warning: mplayer.c:2316: warning: passing argument 1 of 'vf_open_plugin' from incompatible pointer type
author diego
date Thu, 09 Sep 2010 10:42:01 +0000
parents 23d8b025634a
children b6cfb1f15a5b
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
 };