diff options
author | Roland Scheidegger <[email protected]> | 2010-05-10 17:40:44 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-05-10 17:40:44 +0200 |
commit | 433bdb160149d31f057c1928f7bdcc653179a99e (patch) | |
tree | 5ab3f129991e3fbefd353cee4635cf7fdd448b74 /src | |
parent | 2e524fd8bcf9448b3f0d082a96407f93c6d0204c (diff) |
i965g: avoid void * arithmetic
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/i965/drm/i965_drm_buffer.c | 2 |
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 ); } |