From: Vinson Lee Date: Wed, 7 Oct 2009 20:29:23 +0000 (-0600) Subject: i915g: Fix MSVC build. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0083d2e40a8b0aa9ea36f98d4b6b7981d5dca0e3;p=mesa.git i915g: Fix MSVC build. --- diff --git a/src/gallium/drivers/i915/i915_prim_vbuf.c b/src/gallium/drivers/i915/i915_prim_vbuf.c index 07546c03b2b..6b832140a87 100644 --- a/src/gallium/drivers/i915/i915_prim_vbuf.c +++ b/src/gallium/drivers/i915/i915_prim_vbuf.c @@ -257,7 +257,7 @@ i915_vbuf_render_unmap_vertices(struct vbuf_render *render, iws->buffer_write(iws, i915_render->vbo, i915_render->map_used_start + i915_render->vbo_offset, i915_render->map_used_end - i915_render->map_used_start, - i915_render->vbo_ptr + i915_render->map_used_start); + (unsigned char *)i915_render->vbo_ptr + i915_render->map_used_start); #endif }