i965g: Fix printf format specifier.
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 16 May 2010 13:01:28 +0000 (14:01 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 17 May 2010 08:54:28 +0000 (09:54 +0100)
src/gallium/drivers/i965/brw_batchbuffer.c

index 003b1fd..8b3f46f 100644 (file)
@@ -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;