[Mplayer-cvslog] CVS: main/vidix/drivers mga_vid.c,1.18,1.19

Arpi of Ize arpi at mplayerhq.hu
Thu Nov 7 00:54:32 CET 2002


Update of /cvsroot/mplayer/main/vidix/drivers
In directory mail:/var/tmp.root/cvs-serv16361/vidix/drivers

Modified Files:
	mga_vid.c 
Log Message:
*HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik at rangers.eu.org>


Index: mga_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/mga_vid.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- mga_vid.c	28 Aug 2002 22:45:48 -0000	1.18
+++ mga_vid.c	6 Nov 2002 23:54:29 -0000	1.19
@@ -777,7 +777,7 @@
     	return(EFAULT);
     }
     mga_src_base &= (~0xFFFF); /* 64k boundary */
-    if (mga_verbose > 1) printf("[mga] YUV buffer base: %p\n", mga_src_base);
+    if (mga_verbose > 1) printf("[mga] YUV buffer base: %#x\n", mga_src_base);
 
     config->dga_addr = mga_mem_base + mga_src_base;
 
@@ -1325,7 +1325,7 @@
 	}
     }
 
-    if (mga_verbose > 1) printf("[mga] hardware addresses: mmio: %p, framebuffer: %p\n",
+    if (mga_verbose > 1) printf("[mga] hardware addresses: mmio: %#x, framebuffer: %#x\n",
         pci_info.base1, pci_info.base0);
 
     mga_mmio_base = map_phys_mem(pci_info.base1,0x4000);




More information about the MPlayer-cvslog mailing list