From 461d43be78f49e6cb965b7a206c77f6fe1622601 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Mon, 15 Aug 2005 07:30:05 +0000 Subject: Egbert's 64bit fixes for mixed 32/64bit clients --- src/i810_dri.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/i810_dri.c') diff --git a/src/i810_dri.c b/src/i810_dri.c index 9aaab8cd..635395db 100644 --- a/src/i810_dri.c +++ b/src/i810_dri.c @@ -290,8 +290,8 @@ I810DRIScreenInit(ScreenPtr pScreen) DRIInfoPtr pDRIInfo; I810DRIPtr pI810DRI; unsigned long tom; - unsigned long agpHandle; - unsigned long dcacheHandle; + drm_handle_t agpHandle; + drm_handle_t dcacheHandle; int sysmem_size = 0; int back_size = 0; unsigned int pitch_idx = 0; @@ -492,7 +492,7 @@ I810DRIScreenInit(ScreenPtr pScreen) DRICloseScreen(pScreen); return FALSE; } - xf86DrvMsg(pScreen->myNum, X_INFO, "[drm] Registers = 0x%08lx\n", + xf86DrvMsg(pScreen->myNum, X_INFO, "[drm] Registers = 0x%08x\n", pI810DRI->regs); pI810->backHandle = DRM_AGP_NO_HANDLE; @@ -531,7 +531,7 @@ I810DRIScreenInit(ScreenPtr pScreen) drmAgpAlloc(pI810->drmSubFD, 4096 * 1024, 1, NULL, &dcacheHandle); pI810->dcacheHandle = dcacheHandle; - xf86DrvMsg(pScreen->myNum, X_INFO, "[agp] dcacheHandle : 0x%lx\n", + xf86DrvMsg(pScreen->myNum, X_INFO, "[agp] dcacheHandle : 0x%x\n", dcacheHandle); #define Elements(x) sizeof(x)/sizeof(*x) -- cgit v1.2.3