summaryrefslogtreecommitdiff
path: root/src/i810_dri.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-06-26 14:53:10 +0200
committerEric Anholt <anholt@FreeBSD.org>2006-06-26 14:53:10 +0200
commit5111b883480a5a9cc82200f2684cba67b515aa73 (patch)
tree61374e0a1115dd8d5edbf2316cf7ea86323f9880 /src/i810_dri.c
parentf2967a2f5f47b636b2445fa69dbc3ec79e065c90 (diff)
Turn on extra warning flags for GCC, and clean up the resulting fallout.
Diffstat (limited to 'src/i810_dri.c')
-rw-r--r--src/i810_dri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i810_dri.c b/src/i810_dri.c
index 8c05980d..a8c10ffc 100644
--- a/src/i810_dri.c
+++ b/src/i810_dri.c
@@ -492,7 +492,7 @@ I810DRIScreenInit(ScreenPtr pScreen)
return FALSE;
}
xf86DrvMsg(pScreen->myNum, X_INFO, "[drm] Registers = 0x%08x\n",
- pI810DRI->regs);
+ (int)pI810DRI->regs);
pI810->backHandle = DRM_AGP_NO_HANDLE;
pI810->zHandle = DRM_AGP_NO_HANDLE;
@@ -532,7 +532,7 @@ I810DRIScreenInit(ScreenPtr pScreen)
pI810->dcacheHandle = dcacheHandle;
xf86DrvMsg(pScreen->myNum, X_INFO, "[agp] dcacheHandle : 0x%x\n",
- dcacheHandle);
+ (int)dcacheHandle);
#define Elements(x) sizeof(x)/sizeof(*x)
for (pitch_idx = 0; pitch_idx < Elements(i810_pitches); pitch_idx++)