From: Brian Paul Date: Mon, 10 Oct 2011 22:35:22 +0000 (-0600) Subject: i915g: fix warning about void pointer arithmetic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0c036536f5acea90f12130dc712ea6b97d488b6;p=mesa.git i915g: fix warning about void pointer arithmetic --- diff --git a/src/gallium/drivers/i915/i915_state.c b/src/gallium/drivers/i915/i915_state.c index a233a04dbb2..f018f526246 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.