Mesa (master): r300/compiler: Fix warning.

Marek Olšák mareko at kemper.freedesktop.org
Fri Jun 11 13:24:02 PDT 2010


Module: Mesa
Branch: master
Commit: bde34a76b5b49d624c06c53a28ff8be3812810a7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bde34a76b5b49d624c06c53a28ff8be3812810a7

Author: Tom Stellard <tstellar at gmail.com>
Date:   Tue Jun  8 00:19:37 2010 -0700

r300/compiler: Fix warning.

---

 .../dri/r300/compiler/radeon_emulate_loops.c       |    2 +-
 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 7e1ab5e..1bf1dcf 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 ||



More information about the mesa-commit mailing list