From: Keith Whitwell Date: Thu, 24 Sep 2009 15:49:05 +0000 (+0100) Subject: pipebuffer: fix printf warnings X-Git-Tag: mesa-7.8~2720^2~182 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fca7f384418fa6e353d41b2e05117e0553526053;p=platform%2Fupstream%2Fmesa.git pipebuffer: fix printf warnings --- diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c index 1b4df28..6e3214c 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c +++ b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c @@ -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;