summaryrefslogtreecommitdiff
path: root/src/i810_dri.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2005-08-15 07:30:05 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2005-08-15 07:30:05 +0000
commit461d43be78f49e6cb965b7a206c77f6fe1622601 (patch)
tree36a337d96e71a3beb22a6a1fc7f9049f4508e601 /src/i810_dri.c
parent95bd8dbee69b4b35e4c37e19d15e0449c38726b6 (diff)
Egbert's 64bit fixes for mixed 32/64bit clients
Diffstat (limited to 'src/i810_dri.c')
-rw-r--r--src/i810_dri.c8
1 files changed, 4 insertions, 4 deletions
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)