summaryrefslogtreecommitdiff
path: root/shared/radeon_cp.c
diff options
context:
space:
mode:
authorMichel Daenzer <michel@daenzer.net>2003-05-06 21:10:33 +0000
committerMichel Daenzer <michel@daenzer.net>2003-05-06 21:10:33 +0000
commit1d5bf7a7de35f87e68cce740151fd46cd8fa2ff3 (patch)
tree0daf919e25954308f8e1b7fd7d2376f5100ef13b /shared/radeon_cp.c
parent285b1cdc39d9cc47e3ff74b9f9b56c24317beec5 (diff)
fix warning on machines where sizeof(drm_addr_t) != 4 (Randy Dunlap)
Diffstat (limited to 'shared/radeon_cp.c')
-rw-r--r--shared/radeon_cp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/radeon_cp.c b/shared/radeon_cp.c
index 281b0cf0..6cc50669 100644
--- a/shared/radeon_cp.c
+++ b/shared/radeon_cp.c
@@ -903,8 +903,8 @@ static void radeon_cp_init_ring_buffer( drm_device_t *dev,
RADEON_WRITE( RADEON_CP_RB_RPTR_ADDR,
entry->busaddr[page_ofs]);
- DRM_DEBUG( "ring rptr: offset=0x%08x handle=0x%08lx\n",
- entry->busaddr[page_ofs],
+ DRM_DEBUG( "ring rptr: offset=0x%08lx handle=0x%08lx\n",
+ (unsigned long) entry->busaddr[page_ofs],
entry->handle + tmp_ofs );
}