summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-10-07 14:29:23 -0600
committerBrian Paul <[email protected]>2009-10-07 14:29:23 -0600
commit0083d2e40a8b0aa9ea36f98d4b6b7981d5dca0e3 (patch)
treec995df1b87f88dadb2637c19830baf29dfe02416
parent2b9418b2785b3f25fc44daf90436f24b4de35980 (diff)
i915g: Fix MSVC build.
-rw-r--r--src/gallium/drivers/i915/i915_prim_vbuf.c2
1 files changed, 1 insertions, 1 deletions
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
}