summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_statevars.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-01-23 16:37:51 -0700
committerBrian <[email protected]>2007-01-23 16:37:51 -0700
commit223d7cb3c785ad58c869a3ee0fbf2f1d42c3310d (patch)
tree85ae41eea6ed9b915e14603fc19ce2ef53765bb8 /src/mesa/shader/prog_statevars.c
parentbc5d480e2ca83855a343f1ad979e05f0ee59d2fb (diff)
fix g++ warnings/errors
Diffstat (limited to 'src/mesa/shader/prog_statevars.c')
-rw-r--r--src/mesa/shader/prog_statevars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_statevars.c b/src/mesa/shader/prog_statevars.c
index a0a00cfb95d..3a54ab8c58e 100644
--- a/src/mesa/shader/prog_statevars.c
+++ b/src/mesa/shader/prog_statevars.c
@@ -775,7 +775,7 @@ _mesa_load_state_parameters(GLcontext *ctx,
for (i = 0; i < paramList->NumParameters; i++) {
if (paramList->Parameters[i].Type == PROGRAM_STATE_VAR) {
_mesa_fetch_state(ctx,
- paramList->Parameters[i].StateIndexes,
+ (gl_state_index *) paramList->Parameters[i].StateIndexes,
paramList->ParameterValues[i]);
}
}