From bde34a76b5b49d624c06c53a28ff8be3812810a7 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 8 Jun 2010 00:19:37 -0700 Subject: r300/compiler: Fix warning. --- src/mesa/drivers/dri/r300/compiler/radeon_emulate_loops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_emulate_loops.c b/src/mesa/drivers/dri/r300/compiler/radeon_emulate_loops.c index 7e1ab5e55ad..1bf1dcfb0e9 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_emulate_loops.c +++ b/src/mesa/drivers/dri/r300/compiler/radeon_emulate_loops.c @@ -155,7 +155,7 @@ static void get_incr_amount(void * data, struct rc_instruction * inst, { struct count_inst * count_inst = data; int amnt_src_index; - struct rc_opcode_info * opcode; + const struct rc_opcode_info * opcode; float amount; if(file != RC_FILE_TEMPORARY || -- cgit v1.2.3