From 8236a534b7c31b5d3b688323de05cfa5e446f70d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 25 Nov 2003 16:39:31 +0000 Subject: fix assorted g++ warnings --- src/mesa/main/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/program.c') diff --git a/src/mesa/main/program.c b/src/mesa/main/program.c index 546c054003..9a081ece20 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; } -- cgit v1.2.3