Mesa (master): gallium: cast to silence waring

Brian Paul brianp at kemper.freedesktop.org
Wed Feb 10 23:44:16 UTC 2010


Module: Mesa
Branch: master
Commit: 4b1241bf76c7f7ed6d1088a266e9ac000b1f5a54
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b1241bf76c7f7ed6d1088a266e9ac000b1f5a54

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Feb 10 16:44:05 2010 -0700

gallium: cast to silence waring

---

 src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
index 93f8960..c2593cf 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);
       




More information about the mesa-commit mailing list