diff --git a/mplayer.c b/mplayer.c index 4878842745..830aa3f843 100644 --- a/mplayer.c +++ b/mplayer.c @@ -573,7 +573,7 @@ if(!filename){ printf("Invalid audio output driver name: %s\nUse '-ao help' to get a list of available audio drivers.\n",audio_driver); return 0; } - if(dsp) audio_out->control(AOCONTROL_SET_DEVICE,dsp); + if(dsp) audio_out->control(AOCONTROL_SET_DEVICE,(int)dsp); // check codec.conf if(!parse_codec_cfg(get_path("codecs.conf"))){