summaryrefslogtreecommitdiff
path: root/src/i810_hwmc.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2006-04-10 11:26:06 -0700
committerEric Anholt <anholt@FreeBSD.org>2006-04-10 11:26:06 -0700
commit39bdfbb4c23c9ba2a44888f22330a892c4becedc (patch)
tree946aceac17733ad28a20a93ff04ef20eab49e32a /src/i810_hwmc.c
parent35e4756645891bfc85f25f1ab60c287eba9ef749 (diff)
x86_64 warning fixes
Diffstat (limited to 'src/i810_hwmc.c')
-rw-r--r--src/i810_hwmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i810_hwmc.c b/src/i810_hwmc.c
index b952d8d3..d56dfc40 100644
--- a/src/i810_hwmc.c
+++ b/src/i810_hwmc.c
@@ -211,12 +211,12 @@ void I810InitMC(ScreenPtr pScreen)
/* Cursor is at a page boundary, Overlay regs are not, don't forget */
if (drmAddMap(pI810->drmSubFD, (drm_handle_t)pI810->CursorStart,
- 4096, DRM_AGP, 0, &pI810->overlay_map) < 0) {
+ 4096, DRM_AGP, 0, (drmAddress) &pI810->overlay_map) < 0) {
xf86DrvMsg(pScreen->myNum, X_ERROR, "drmAddMap(overlay) failed\n");
return;
}
if (drmAddMap(pI810->drmSubFD, (drm_handle_t)pI810->MC.Start,
- pI810->MC.Size, DRM_AGP, 0, &pI810->mc_map) < 0) {
+ pI810->MC.Size, DRM_AGP, 0, (drmAddress) &pI810->mc_map) < 0) {
xf86DrvMsg(pScreen->myNum, X_ERROR, "drmAddMap(MC) failed\n");
return;
}