summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-05-10 17:40:44 +0200
committerRoland Scheidegger <[email protected]>2010-05-10 17:40:44 +0200
commit433bdb160149d31f057c1928f7bdcc653179a99e (patch)
tree5ab3f129991e3fbefd353cee4635cf7fdd448b74
parent2e524fd8bcf9448b3f0d082a96407f93c6d0204c (diff)
i965g: avoid void * arithmetic
-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 );
}