Mercurial > mplayer.hg
changeset 36841:c659d33157e3
Remove unnecessary casts.
author | ib |
---|---|
date | Tue, 25 Feb 2014 15:19:22 +0000 |
parents | 511047e8e0a2 |
children | d8b2651bfeab |
files | gui/interface.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Tue Feb 25 15:16:01 2014 +0000 +++ b/gui/interface.c Tue Feb 25 15:19:22 2014 +0000 @@ -468,7 +468,7 @@ while (video_out_drivers[i++]) { if (video_out_drivers[i - 1]->control(VOCTRL_GUISUPPORT, NULL) == VO_TRUE) { - listSet(&video_driver_list, (char *)video_out_drivers[i - 1]->info->short_name); + listSet(&video_driver_list, video_out_drivers[i - 1]->info->short_name); break; } } @@ -486,7 +486,7 @@ while (video_out_drivers[i++]) { if (video_out_drivers[i - 1]->control(VOCTRL_GUISUPPORT, NULL) == VO_TRUE) { - if ((video_driver_list && !gstrcmp(video_driver_list[0], (char *)video_out_drivers[i - 1]->info->short_name)) && (video_out_drivers[i - 1]->control(VOCTRL_GUI_NOWINDOW, NULL) == VO_TRUE)) { + if ((video_driver_list && !gstrcmp(video_driver_list[0], video_out_drivers[i - 1]->info->short_name)) && (video_out_drivers[i - 1]->control(VOCTRL_GUI_NOWINDOW, NULL) == VO_TRUE)) { guiInfo.VideoWindow = False; break; }