mirror of https://github.com/mpv-player/mpv
compiler warning found by Dominik
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7696 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6a2c0db5e5
commit
9a84232f45
|
@ -397,7 +397,7 @@ static int mga_uninit(){
|
|||
|
||||
static uint32_t preinit(const char *vo_subdevice)
|
||||
{
|
||||
char *devname=vo_subdevice?vo_subdevice:"/dev/mga_vid";
|
||||
const char *devname=vo_subdevice?vo_subdevice:"/dev/mga_vid";
|
||||
|
||||
f = open(devname,O_RDWR);
|
||||
if(f == -1)
|
||||
|
|
Loading…
Reference in New Issue