summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-05-31 18:08:24 +0900
committerJosé Fonseca <[email protected]>2008-05-31 18:55:40 +0900
commit45b2c23d7a2f1bd723d0719b13470125de09c243 (patch)
tree4e68fbd5dd783e6bb5fc5426f481f3005d6504aa /src/gallium/drivers
parent054189e87abcd399aadb449d13b2e331c060e65f (diff)
i915: Eliminate void pointer arithmetic.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/i915simple/i915_prim_vbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915simple/i915_prim_vbuf.c b/src/gallium/drivers/i915simple/i915_prim_vbuf.c
index faf5971abbb..cdbb5feb232 100644
--- a/src/gallium/drivers/i915simple/i915_prim_vbuf.c
+++ b/src/gallium/drivers/i915simple/i915_prim_vbuf.c
@@ -142,7 +142,7 @@ i915_vbuf_render_allocate_vertices( struct vbuf_render *render,
i915->vbo_offset = i915_render->vbo_offset;
i915->dirty |= I915_NEW_VBO;
- return i915_render->vbo_ptr + i915->vbo_offset;
+ return (unsigned char *)i915_render->vbo_ptr + i915->vbo_offset;
}