[Mplayer-cvslog] CVS: main/vidix/drivers mga_vid.c,1.17,1.18
Arpi of Ize
arpi at mplayerhq.hu
Thu Aug 29 00:45:51 CEST 2002
Update of /cvsroot/mplayer/main/vidix/drivers
In directory mail:/var/tmp.root/cvs-serv25343/vidix/drivers
Modified Files:
mga_vid.c
Log Message:
mostly compiler warning fixes, some small bugfix
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.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- mga_vid.c 25 Jul 2002 22:52:51 -0000 1.17
+++ mga_vid.c 28 Aug 2002 22:45:48 -0000 1.18
@@ -87,7 +87,7 @@
/* mapped physical addresses */
static uint8_t *mga_mmio_base = 0;
-static uint32_t mga_mem_base = 0;
+static uint8_t *mga_mem_base = 0;
static int mga_src_base = 0; /* YUV buffer position in video memory */
@@ -685,7 +685,7 @@
int vixConfigPlayback(vidix_playback_t *config)
{
- int i;
+ unsigned int i;
int x, y, sw, sh, dw, dh;
int besleft, bestop, ifactor, ofsleft, ofstop, baseadrofs, weight, weights;
#ifdef CRTC2
@@ -1179,7 +1179,7 @@
is_g400 = -1;
- err = pci_scan(&lst, &num_pci);
+ err = pci_scan(lst, &num_pci);
if (err)
{
printf("[mga] Error occured during pci scan: %s\n", strerror(err));
More information about the MPlayer-cvslog
mailing list