diff options
Diffstat (limited to 'src/mesa/main/program.c')
-rw-r--r-- | src/mesa/main/program.c | 2 |
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; } |