OSDN Git Service

r300/compiler: Fix warning.
authorTom Stellard <tstellar@gmail.com>
Tue, 8 Jun 2010 07:19:37 +0000 (00:19 -0700)
committerMarek Olšák <maraeo@gmail.com>
Fri, 11 Jun 2010 20:06:59 +0000 (22:06 +0200)
src/mesa/drivers/dri/r300/compiler/radeon_emulate_loops.c

index 7e1ab5e..1bf1dcf 100644 (file)
@@ -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 ||