Mesa (master): i965g: Fix printf format specifier.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Mon May 17 08:54:49 UTC 2010


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

Author: José Fonseca <jfonseca at vmware.com>
Date:   Sun May 16 14:01:28 2010 +0100

i965g: Fix printf format specifier.

---

 src/gallium/drivers/i965/brw_batchbuffer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/i965/brw_batchbuffer.c b/src/gallium/drivers/i965/brw_batchbuffer.c
index 003b1fd..8b3f46f 100644
--- a/src/gallium/drivers/i965/brw_batchbuffer.c
+++ b/src/gallium/drivers/i965/brw_batchbuffer.c
@@ -161,7 +161,7 @@ brw_batchbuffer_emit_reloc(struct brw_batchbuffer *batch,
    int ret;
 
    if (batch->ptr - batch->map > batch->buf->size) {
-      debug_printf("bad relocation ptr %p map %p offset %d size %d\n",
+      debug_printf("bad relocation ptr %p map %p offset %li size %i\n",
 		   batch->ptr, batch->map, batch->ptr - batch->map, batch->buf->size);
 
       return PIPE_ERROR_OUT_OF_MEMORY;




More information about the mesa-commit mailing list