From: Roland Scheidegger Date: Mon, 10 May 2010 15:40:44 +0000 (+0200) Subject: i965g: avoid void * arithmetic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=433bdb160149d31f057c1928f7bdcc653179a99e;p=mesa.git 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 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 ); }