From 34a774797c17855043c8e1f701ada7f7aca39701 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 14 Jun 2011 20:47:47 -0600 Subject: [PATCH] i915g: add const qualifier to silence warning --- src/gallium/drivers/i915/i915_state_derived.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) -- 2.30.2