Mesa (master): i915g: fix warning about void pointer arithmetic
Brian Paul
brianp at kemper.freedesktop.org
Tue Oct 11 13:41:54 UTC 2011
Module: Mesa
Branch: master
Commit: f0c036536f5acea90f12130dc712ea6b97d488b6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0c036536f5acea90f12130dc712ea6b97d488b6
Author: Brian Paul <brianp at vmware.com>
Date: Mon Oct 10 16:35:22 2011 -0600
i915g: fix warning about void pointer arithmetic
---
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 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.
More information about the mesa-commit
mailing list