diff options
author | Brian Paul <[email protected]> | 2011-10-10 16:35:22 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-10-11 07:40:11 -0600 |
commit | f0c036536f5acea90f12130dc712ea6b97d488b6 (patch) | |
tree | d09012563923c53f3974419d31a616ff57400f6a /src/gallium/drivers/i915 | |
parent | a13eed4b826d0bb5dfcb5e63651987a232df8a06 (diff) |
i915g: fix warning about void pointer arithmetic
Diffstat (limited to 'src/gallium/drivers/i915')
-rw-r--r-- | src/gallium/drivers/i915/i915_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. |