diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-28 22:45:48 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-28 22:45:48 +0000 |
commit | 0f4f7e27cfb46b45c558a35f01f400f193e9bc7b (patch) | |
tree | f27ceba2bcee81f1e5c4bb9123a106a43b755891 /vidix/drivers | |
parent | f4e1671be7e80209be7bc9179c0d64cb1234af20 (diff) |
mostly compiler warning fixes, some small bugfix
patch by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7128 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/drivers')
-rw-r--r-- | vidix/drivers/mga_vid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vidix/drivers/mga_vid.c b/vidix/drivers/mga_vid.c index 0c5ba8b72e..56c59204b1 100644 --- a/vidix/drivers/mga_vid.c +++ b/vidix/drivers/mga_vid.c @@ -87,7 +87,7 @@ static int vid_overlay_on = 0; /* 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 @@ void mga_handle_irq(int irq, void *dev_id/*, struct pt_regs *pregs*/) { 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 @@ int vixProbe(int verbose,int force) 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)); |