summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-05-16 14:01:28 +0100
committerJosé Fonseca <[email protected]>2010-05-17 09:54:28 +0100
commit7234dc19afeac1e5cf39ebb10d07362dc6572d33 (patch)
tree7d47d4c5f6d546febe347b169828d23088b8e165
parentdf3590f570cb88eb9695b443208d7576b5867fd1 (diff)
i965g: Fix printf format specifier.
-rw-r--r--src/gallium/drivers/i965/brw_batchbuffer.c2
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 003b1fd5bf0..8b3f46f2c16 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;