summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i965simple/brw_state_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/i965simple/brw_state_cache.c')
-rw-r--r--src/mesa/pipe/i965simple/brw_state_cache.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/pipe/i965simple/brw_state_cache.c b/src/mesa/pipe/i965simple/brw_state_cache.c
index 13e262d2e55..c5738733f4e 100644
--- a/src/mesa/pipe/i965simple/brw_state_cache.c
+++ b/src/mesa/pipe/i965simple/brw_state_cache.c
@@ -178,8 +178,9 @@ unsigned brw_upload_cache( struct brw_cache *cache,
if (BRW_DEBUG & DEBUG_STATE)
printf("upload %s: %d bytes to pool buffer %p offset %x\n",
- cache->name, data_size,
- cache->pool->buffer,
+ cache->name,
+ data_size,
+ (void*)cache->pool->buffer,
offset);
/* Copy data to the buffer: