changeset 7695:368d333d92c2

compiler warning found by Dominik
author arpi
date Thu, 10 Oct 2002 00:10:58 +0000
parents b64f14fdadfb
children a818bbab1525
files libvo/mga_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/mga_common.c	Thu Oct 10 00:09:34 2002 +0000
+++ b/libvo/mga_common.c	Thu Oct 10 00:10:58 2002 +0000
@@ -397,7 +397,7 @@
 
 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)