summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-10-10 16:35:22 -0600
committerBrian Paul <[email protected]>2011-10-11 07:40:11 -0600
commitf0c036536f5acea90f12130dc712ea6b97d488b6 (patch)
treed09012563923c53f3974419d31a616ff57400f6a /src/gallium/drivers/i915
parenta13eed4b826d0bb5dfcb5e63651987a232df8a06 (diff)
i915g: fix warning about void pointer arithmetic
Diffstat (limited to 'src/gallium/drivers/i915')
-rw-r--r--src/gallium/drivers/i915/i915_state.c2
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.