From 5edc6fef4ca633a4e468d3afa82ce8bc641a2437 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 2 Jan 2012 11:55:39 -0700 Subject: [PATCH] radeon: add casts to silence warnings --- src/mesa/drivers/dri/radeon/radeon_common.h | 4 ++-- 1 file 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); -- 2.30.2