summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2011-01-30 01:08:54 -0800
committerVinson Lee <[email protected]>2011-01-30 01:08:54 -0800
commitcad0520179ef2a62b2756b01d37663f495a00619 (patch)
tree27505acb8710f379fcf3b15bd33cbef25a29f31c /src/gallium
parent71f610e26ea7d71043b1a8ceeb8af7d11d75d6ab (diff)
r600g: Fix void pointer arithmetic.
Fixes SCons build.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/r600_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_buffer.c b/src/gallium/drivers/r600/r600_buffer.c
index 6ebe6ab2364..2e225860906 100644
--- a/src/gallium/drivers/r600/r600_buffer.c
+++ b/src/gallium/drivers/r600/r600_buffer.c
@@ -236,7 +236,7 @@ void r600_upload_user_buffers(struct r600_pipe_context *rctx,
}
u_upload_data(rctx->upload_vb, first, size,
- userbuf->user_buffer + first,
+ (uint8_t*)userbuf->user_buffer + first,
&vb->buffer_offset,
&rctx->real_vertex_buffer[index],
&flushed);