From 9a84232f4564fdb4aee5401b370ddfac012e669e Mon Sep 17 00:00:00 2001 From: arpi Date: Thu, 10 Oct 2002 00:10:58 +0000 Subject: compiler warning found by Dominik git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7696 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/mga_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/mga_common.c b/libvo/mga_common.c index 2477e4bf8c..cf2d8c19b9 100644 --- a/libvo/mga_common.c +++ b/libvo/mga_common.c @@ -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) -- cgit v1.2.3