From f0c036536f5acea90f12130dc712ea6b97d488b6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 10 Oct 2011 16:35:22 -0600 Subject: [PATCH] i915g: fix warning about void pointer arithmetic --- src/gallium/drivers/i915/i915_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/i915/i915_state.c b/src/gallium/drivers/i915/i915_state.c index a233a04..f018f52 100644 --- a/src/gallium/drivers/i915/i915_state.c +++ b/src/gallium/drivers/i915/i915_state.c @@ -384,7 +384,7 @@ i915_prepare_vertex_sampling(struct i915_context *i915, if (view) { struct pipe_resource *tex = view->texture; struct i915_texture *i915_tex = i915_texture(tex); - void* addr; + ubyte *addr; /* We're referencing the texture's internal data, so save a * reference to it. -- 2.7.4