# HG changeset patch # User reimar # Date 1383987016 0 # Node ID 34aea1a1763e1d567392169100f22f3edc56e281 # Parent b9cc6e7cd0a8b2dbe4fb0dabeb49b425798d322c Move cast to right place to avoid warning. diff -r b9cc6e7cd0a8 -r 34aea1a1763e mplayer.c --- a/mplayer.c Sat Nov 09 08:46:02 2013 +0000 +++ b/mplayer.c Sat Nov 09 08:50:16 2013 +0000 @@ -3649,7 +3649,7 @@ if (mpctx->sh_audio && mpctx->sh_audio->codec) mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_AUDIO_CODEC=%s\n", mpctx->sh_audio->codec->name); if (mpctx->audio_out) - mpctx->audio_out->control(AOCONTROL_FILENAME, vo_wintitle ? vo_wintitle : (void *)mp_basename(filename)); + mpctx->audio_out->control(AOCONTROL_FILENAME, (void *)(vo_wintitle ? vo_wintitle : mp_basename(filename))); } current_module = "av_init";