From: Brian Paul Date: Wed, 15 Jun 2011 02:47:47 +0000 (-0600) Subject: i915g: add const qualifier to silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34a774797c17855043c8e1f701ada7f7aca39701;p=mesa.git i915g: add const qualifier to silence warning --- diff --git a/src/gallium/drivers/i915/i915_state_derived.c b/src/gallium/drivers/i915/i915_state_derived.c index bf6b30a4530..392ba191140 100644 --- a/src/gallium/drivers/i915/i915_state_derived.c +++ b/src/gallium/drivers/i915/i915_state_derived.c @@ -35,7 +35,7 @@ #include "i915_debug.h" #include "i915_reg.h" -static uint find_mapping(struct i915_fragment_shader* fs, int unit) +static uint find_mapping(const struct i915_fragment_shader* fs, int unit) { int i; for (i = 0; i < I915_TEX_UNITS ; i++)