diff options
author | Brian Paul <[email protected]> | 2012-01-02 11:55:39 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-02 11:55:39 -0700 |
commit | 5edc6fef4ca633a4e468d3afa82ce8bc641a2437 (patch) | |
tree | a8c30e8d5dbb234c919f3670254e9b3ec25d9472 /src | |
parent | d9398382672c77937536f20547be4792e08069a3 (diff) |
radeon: add casts to silence warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_common.h | 4 |
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); |