# HG changeset patch # User ib # Date 1364138126 0 # Node ID 373c1104023f43b6b8bf6fec8a58fed96439b7d6 # Parent 13d09ba17e972ec57d1098218f3d4c8055fdf9d5 Remove pointless casts. diff -r 13d09ba17e97 -r 373c1104023f gui/dialog/fileselect.c --- 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: