gallium: cast to silence waring
authorBrian Paul <brianp@vmware.com>
Wed, 10 Feb 2010 23:44:05 +0000 (16:44 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 10 Feb 2010 23:44:05 +0000 (16:44 -0700)
src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c

index 93f8960641f3364d77ecded567926fa24cba5703..c2593cf16537de6a45ac4e5c92eb2f66db964be1 100644 (file)
@@ -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);