aboutsummaryrefslogtreecommitdiffhomepage
path: root/vidix/drivers
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-06 23:54:29 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-06 23:54:29 +0000
commitf859d013a883bbba59901303f644fe281454a63d (patch)
treee71729f1990b98ab27a8672e92a656d622c5ab19 /vidix/drivers
parentd1d7c653674e32de3a4aa47ee4068c57b288adb7 (diff)
*HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/drivers')
-rw-r--r--vidix/drivers/mga_vid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vidix/drivers/mga_vid.c b/vidix/drivers/mga_vid.c
index 56c59204b1..d37bb58125 100644
--- a/vidix/drivers/mga_vid.c
+++ b/vidix/drivers/mga_vid.c
@@ -777,7 +777,7 @@ int vixConfigPlayback(vidix_playback_t *config)
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 @@ int vixInit(void)
}
}
- 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);