From: Brian Paul Date: Wed, 10 Feb 2010 23:44:05 +0000 (-0700) Subject: gallium: cast to silence waring X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b1241bf76c7f7ed6d1088a266e9ac000b1f5a54;p=mesa.git gallium: cast to silence waring --- diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c index 93f8960641f..c2593cf1653 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c +++ b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c @@ -349,7 +349,7 @@ pb_debug_manager_dump(struct pb_debug_manager *mgr) while(curr != &mgr->list) { buf = LIST_ENTRY(struct pb_debug_buffer, curr, head); - debug_printf("buffer = %p\n", buf); + debug_printf("buffer = %p\n", (void *) buf); debug_printf(" .size = 0x%x\n", buf->base.base.size); debug_backtrace_dump(buf->create_backtrace, PB_DEBUG_CREATE_BACKTRACE);