summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/i965
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/i965')
-rw-r--r--src/gallium/winsys/i965/drm/i965_drm_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/i965/drm/i965_drm_buffer.c b/src/gallium/winsys/i965/drm/i965_drm_buffer.c
index 33a17496b2b..fb5e50ce810 100644
--- a/src/gallium/winsys/i965/drm/i965_drm_buffer.c
+++ b/src/gallium/winsys/i965/drm/i965_drm_buffer.c
@@ -463,7 +463,7 @@ i965_libdrm_bo_flush_range(struct brw_winsys_buffer *buffer,
brw_dump_data( idws->id,
buf->data_type,
buf->bo->offset + offset,
- buf->bo->virtual + offset,
+ (char*)buf->bo->virtual + offset,
length );
}