mesa: Use appropriate unsigned/signed, float/integer types.

This commit is contained in:
José Fonseca
2008-06-24 11:34:46 +09:00
committed by Keith Whitwell
parent 88f729e4ec
commit 457d7218b8
2 changed files with 3 additions and 3 deletions

View File

@@ -513,7 +513,7 @@ _mesa_insert_instructions(struct gl_program *prog, GLuint start, GLuint count)
for (i = 0; i < prog->NumInstructions; i++) {
struct prog_instruction *inst = prog->Instructions + i;
if (inst->BranchTarget > 0) {
if (inst->BranchTarget >= start) {
if ((GLuint)inst->BranchTarget >= start) {
inst->BranchTarget += count;
}
}