Mercurial > mplayer.hg
changeset 35961:373c1104023f
Remove pointless casts.
author | ib |
---|---|
date | Sun, 24 Mar 2013 15:15:26 +0000 |
parents | 13d09ba17e97 |
children | df731f25759e |
files | gui/dialog/fileselect.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/dialog/fileselect.c Sun Mar 24 15:12:16 2013 +0000 +++ b/gui/dialog/fileselect.c Sun Mar 24 15:15:26 2013 +0000 @@ -375,7 +375,7 @@ fsSelectedFile=fsThatDir; CheckDir( fsFNameList ); utf8dir = get_current_dir_name_utf8(); - gtk_entry_set_text( GTK_ENTRY( fsPathCombo ),(unsigned char *)utf8dir ); + gtk_entry_set_text( GTK_ENTRY( fsPathCombo ),utf8dir ); g_free(utf8dir); return; } @@ -394,13 +394,13 @@ fsSelectedFile=fsThatDir; CheckDir( fsFNameList ); utf8dir = get_current_dir_name_utf8(); - gtk_entry_set_text( GTK_ENTRY( fsPathCombo ),(unsigned char *)utf8dir ); + gtk_entry_set_text( GTK_ENTRY( fsPathCombo ),utf8dir ); g_free(utf8dir); gtk_widget_grab_focus( fsFNameList ); return; } - fsSelectedDirectory=(unsigned char *)get_current_dir_name(); + fsSelectedDirectory=get_current_dir_name(); switch ( fsType ) { case fsVideoSelector: