pipebuffer: fix printf warnings
authorKeith Whitwell <keithw@vmware.com>
Thu, 24 Sep 2009 15:49:05 +0000 (16:49 +0100)
committerKeith Whitwell <keithw@vmware.com>
Thu, 24 Sep 2009 15:49:05 +0000 (16:49 +0100)
src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c

index 1b4df28c7074e79bc381a17de4577458d88350e5..6e3214ca9c9b4de60c596792f49c056e03b24d52 100644 (file)
@@ -350,7 +350,7 @@ pb_debug_manager_dump(struct pb_debug_manager *mgr)
       buf = LIST_ENTRY(struct pb_debug_buffer, curr, head);
 
       debug_printf("buffer = %p\n", buf);
-      debug_printf("    .size = %p\n", buf->base.base.size);
+      debug_printf("    .size = 0x%x\n", buf->base.base.size);
       debug_backtrace_dump(buf->create_backtrace, PB_DEBUG_CREATE_BACKTRACE);
       
       curr = next;