From: Tom Stellard Date: Tue, 8 Jun 2010 07:19:37 +0000 (-0700) Subject: r300/compiler: Fix warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bde34a76b5b49d624c06c53a28ff8be3812810a7;p=mesa.git r300/compiler: Fix warning. --- 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 ||