[Mplayer-cvslog] CVS: main/Gui cfg.c,1.39,1.40 interface.c,1.89,1.90

Dominik Mierzejewski CVS rathann at mplayerhq.hu
Sat Nov 8 01:27:19 CET 2003


Update of /cvsroot/mplayer/main/Gui
In directory mail:/var/tmp.root/cvs-serv14625/Gui

Modified Files:
	cfg.c interface.c 
Log Message:
Warning fixes (approved by A'rpi).


Index: cfg.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/cfg.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- cfg.c	29 Aug 2003 21:38:44 -0000	1.39
+++ cfg.c	8 Nov 2003 00:26:44 -0000	1.40
@@ -72,6 +72,7 @@
 extern int    flip;
 extern int    frame_dropping;
 extern int    stop_xscreensaver;
+extern int    m_config_parse_config_file(m_config_t* config, char *conffile);
 
 static m_config_t * gui_conf;
 static m_option_t gui_opts[] =

Index: interface.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- interface.c	25 Aug 2003 21:33:39 -0000	1.89
+++ interface.c	8 Nov 2003 00:26:44 -0000	1.90
@@ -1051,7 +1051,7 @@
 	return NULL;
    case gtkSetExtraStereo:
         gtkAOExtraStereoMul=fparam;
-	audio_plugin_extrastereo.control( AOCONTROL_PLUGIN_ES_SET,(int)&gtkAOExtraStereoMul );
+	audio_plugin_extrastereo.control( AOCONTROL_PLUGIN_ES_SET,(void *)&gtkAOExtraStereoMul );
         return NULL;
    case gtkSetPanscan:
         {
@@ -1082,7 +1082,7 @@
         if ( eq )
 	 {
           gtkEquChannels[eq->channel][eq->band]=eq->gain;
-	  audio_plugin_eq.control( AOCONTROL_PLUGIN_EQ_SET_GAIN,(int)eq );
+	  audio_plugin_eq.control( AOCONTROL_PLUGIN_EQ_SET_GAIN,(void *)eq );
 	 }
 	 else
 	  {
@@ -1090,7 +1090,7 @@
 	   memset( gtkEquChannels,0,sizeof( gtkEquChannels ) );
 	   for ( i=0;i<6;i++ )
 	    for ( j=0;j<10;j++ )
-	     { tmp.channel=i; tmp.band=j; audio_plugin_eq.control( AOCONTROL_PLUGIN_EQ_SET_GAIN,(int)&tmp ); }
+	     { tmp.channel=i; tmp.band=j; audio_plugin_eq.control( AOCONTROL_PLUGIN_EQ_SET_GAIN,(void *)&tmp ); }
 	  }
 	return NULL;
   }



More information about the MPlayer-cvslog mailing list