From 0083d2e40a8b0aa9ea36f98d4b6b7981d5dca0e3 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 7 Oct 2009 14:29:23 -0600 Subject: [PATCH] i915g: Fix MSVC build. --- src/gallium/drivers/i915/i915_prim_vbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.30.2