From 1d5bf7a7de35f87e68cce740151fd46cd8fa2ff3 Mon Sep 17 00:00:00 2001 From: Michel Daenzer Date: Tue, 6 May 2003 21:10:33 +0000 Subject: fix warning on machines where sizeof(drm_addr_t) != 4 (Randy Dunlap) --- shared/radeon_cp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shared') 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 ); } -- cgit v1.2.3