[MPlayer-cvslog] r32110 - trunk/mplayer.c

diego subversion at mplayerhq.hu
Thu Sep 9 12:42:01 CEST 2010


Author: diego
Date: Thu Sep  9 12:42:01 2010
New Revision: 32110

Log:
Mark libmenu_vfs declaration as const, fixes the warning:
mplayer.c:2316: warning: passing argument 1 of 'vf_open_plugin' from incompatible pointer type

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Thu Sep  9 12:39:08 2010	(r32109)
+++ trunk/mplayer.c	Thu Sep  9 12:42:01 2010	(r32110)
@@ -308,7 +308,7 @@ char* current_module=NULL; // for debugg
 
 
 #ifdef CONFIG_MENU
-static vf_info_t* libmenu_vfs[] = {
+static const vf_info_t* const libmenu_vfs[] = {
   &vf_info_menu,
   NULL
 };


More information about the MPlayer-cvslog mailing list