diff options
author | Michel Daenzer <michel@daenzer.net> | 2003-05-06 21:10:33 +0000 |
---|---|---|
committer | Michel Daenzer <michel@daenzer.net> | 2003-05-06 21:10:33 +0000 |
commit | 1d5bf7a7de35f87e68cce740151fd46cd8fa2ff3 (patch) | |
tree | 0daf919e25954308f8e1b7fd7d2376f5100ef13b | |
parent | 285b1cdc39d9cc47e3ff74b9f9b56c24317beec5 (diff) |
fix warning on machines where sizeof(drm_addr_t) != 4 (Randy Dunlap)
-rw-r--r-- | shared-core/radeon_cp.c | 4 | ||||
-rw-r--r-- | shared/radeon_cp.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/shared-core/radeon_cp.c b/shared-core/radeon_cp.c index 281b0cf0..6cc50669 100644 --- a/shared-core/radeon_cp.c +++ b/shared-core/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 ); } 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 ); } |