summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <tstellar@gmail.com>2010-06-08 00:19:37 -0700
committerMarek Olšák <maraeo@gmail.com>2010-06-11 22:06:59 +0200
commitbde34a76b5b49d624c06c53a28ff8be3812810a7 (patch)
treefb9eabd925a4a8aeb1af23325ea60ae964888a7e
parentf7269cf26a966daf555b12bffc08d862dc34528d (diff)
r300/compiler: Fix warning.
-rw-r--r--src/mesa/drivers/dri/r300/compiler/radeon_emulate_loops.c2
1 files changed, 1 insertions, 1 deletions
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 ||