Mercurial > mplayer.hg
changeset 25226:78ac40115c15
Get rid of some "discards qualifiers" warnings
author | reimar |
---|---|
date | Sun, 02 Dec 2007 15:43:30 +0000 |
parents | 51c23a18a17b |
children | 75837c33484b |
files | gui/mplayer/gtk/fs.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/mplayer/gtk/fs.c Sun Dec 02 15:35:58 2007 +0000 +++ b/gui/mplayer/gtk/fs.c Sun Dec 02 15:43:30 2007 +0000 @@ -34,7 +34,7 @@ gchar * fsSelectedFile = NULL; gchar * fsSelectedDirectory = NULL; unsigned char * fsThatDir = "."; -gchar * fsFilter = "*"; +const gchar * fsFilter = "*"; int fsPressed = 0; int fsType = 0; @@ -352,7 +352,7 @@ void fs_fsFilterCombo_changed( GtkEditable * editable,gpointer user_data ) { - char * str; + const char * str; int i; str=gtk_entry_get_text( GTK_ENTRY(user_data ) ); @@ -391,7 +391,7 @@ void fs_fsPathCombo_activate( GtkEditable * editable,gpointer user_data ) { - unsigned char * str; + const unsigned char * str; str=gtk_entry_get_text( GTK_ENTRY( user_data ) ); if ( chdir( str ) != -1 ) CheckDir( fsFNameList,get_current_dir_name() ); @@ -399,7 +399,7 @@ void fs_fsPathCombo_changed( GtkEditable * editable,gpointer user_data ) { - unsigned char * str; + const unsigned char * str; str=gtk_entry_get_text( GTK_ENTRY( user_data ) ); fsPressed=2;