summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-02 11:55:39 -0700
committerBrian Paul <[email protected]>2012-01-02 11:55:39 -0700
commit5edc6fef4ca633a4e468d3afa82ce8bc641a2437 (patch)
treea8c30e8d5dbb234c919f3670254e9b3ec25d9472 /src/mesa/drivers
parentd9398382672c77937536f20547be4792e08069a3 (diff)
radeon: add casts to silence warnings
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common.h b/src/mesa/drivers/dri/radeon/radeon_common.h
index 67925cb9a10..24cba34c4da 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common.h
+++ b/src/mesa/drivers/dri/radeon/radeon_common.h
@@ -44,7 +44,7 @@ static inline struct radeon_renderbuffer *radeon_renderbuffer(struct gl_renderbu
struct radeon_renderbuffer *rrb = (struct radeon_renderbuffer *)rb;
radeon_print(RADEON_MEMORY, RADEON_TRACE,
"%s(rb %p)\n",
- __func__, rb);
+ __func__, (void *) rb);
if (rrb && rrb->base.ClassID == RADEON_RB_CLASS)
return rrb;
else
@@ -55,7 +55,7 @@ static inline struct radeon_renderbuffer *radeon_get_renderbuffer(struct gl_fram
{
radeon_print(RADEON_MEMORY, RADEON_TRACE,
"%s(fb %p, index %d)\n",
- __func__, fb, att_index);
+ __func__, (void *) fb, att_index);
if (att_index >= 0)
return radeon_renderbuffer(fb->Attachment[att_index].Renderbuffer);