summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/program.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-11-25 16:39:31 +0000
committerBrian Paul <[email protected]>2003-11-25 16:39:31 +0000
commit8236a534b7c31b5d3b688323de05cfa5e446f70d (patch)
treef2da1c9f02675aeced8c0020bd8a38bdd621f2e7 /src/mesa/main/program.c
parent2c9f50dd4acc65ddfeb8e3fde98137711167e579 (diff)
fix assorted g++ warnings
Diffstat (limited to 'src/mesa/main/program.c')
-rw-r--r--src/mesa/main/program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/program.c b/src/mesa/main/program.c
index 546c0540032..9a081ece203 100644
--- a/src/mesa/main/program.c
+++ b/src/mesa/main/program.c
@@ -345,7 +345,7 @@ _mesa_add_state_reference(struct program_parameter_list *paramList,
idx = add_parameter(paramList, "Some State", NULL, STATE);
for (a=0; a<6; a++)
- paramList->Parameters[idx].StateIndexes[a] = stateTokens[a];
+ paramList->Parameters[idx].StateIndexes[a] = (enum state_index) stateTokens[a];
return idx;
}