commit | 433bdb160149d31f057c1928f7bdcc653179a99e | [log] [tgz] |
---|---|---|
author | Roland Scheidegger <sroland@vmware.com> | Mon May 10 17:40:44 2010 +0200 |
committer | Roland Scheidegger <sroland@vmware.com> | Mon May 10 17:40:44 2010 +0200 |
tree | 5ab3f129991e3fbefd353cee4635cf7fdd448b74 | |
parent | 2e524fd8bcf9448b3f0d082a96407f93c6d0204c [diff] |
i965g: avoid void * arithmetic
diff --git a/src/gallium/winsys/i965/drm/i965_drm_buffer.c b/src/gallium/winsys/i965/drm/i965_drm_buffer.c index 33a1749..fb5e50c 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 @@ brw_dump_data( idws->id, buf->data_type, buf->bo->offset + offset, - buf->bo->virtual + offset, + (char*)buf->bo->virtual + offset, length ); }