diff options
Diffstat (limited to 'Gui')
-rw-r--r-- | Gui/mplayer/mw.c | 2 | ||||
-rw-r--r-- | Gui/skin/font.c | 2 | ||||
-rw-r--r-- | Gui/skin/font.h | 2 | ||||
-rw-r--r-- | Gui/win32/interface.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Gui/mplayer/mw.c b/Gui/mplayer/mw.c index 7c188789da..0d4416ea8a 100644 --- a/Gui/mplayer/mw.c +++ b/Gui/mplayer/mw.c @@ -73,7 +73,7 @@ void mplMainDraw( void ) // XFlush( wsDisplay ); } -extern void exit_player(char* how); +extern void exit_player(const char* how); extern int vcd_track; static unsigned last_redraw_time = 0; diff --git a/Gui/skin/font.c b/Gui/skin/font.c index c1d275dabd..3860079a98 100644 --- a/Gui/skin/font.c +++ b/Gui/skin/font.c @@ -146,7 +146,7 @@ int fntTextHeight( int id,char * str ) return max; } -txSample * fntRender( wItem * item,int px,char * fmt,... ) +txSample * fntRender( wItem * item,int px,const char * fmt,... ) { va_list ap; unsigned char p[512]; diff --git a/Gui/skin/font.h b/Gui/skin/font.h index 0c3fa62998..94289ded6c 100644 --- a/Gui/skin/font.h +++ b/Gui/skin/font.h @@ -32,7 +32,7 @@ extern int fntTextHeight( int id,char * str ); extern int fntTextWidth( int id,char * str ); extern int fntRead( char * path,char * fname ); -extern txSample * fntRender( wItem * item,int px,char * fmt,... ); +extern txSample * fntRender( wItem * item,int px,const char * fmt,... ); #endif diff --git a/Gui/win32/interface.c b/Gui/win32/interface.c index f7d148f954..d622d6c105 100644 --- a/Gui/win32/interface.c +++ b/Gui/win32/interface.c @@ -45,7 +45,7 @@ extern m_obj_settings_t* vo_plugin_args; extern vo_functions_t *video_out; extern ao_functions_t *audio_out; -extern void exit_player(char *how); +extern void exit_player(const char *how); extern char *filename; extern int abs_seek_pos; extern float rel_seek_secs; |