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

This commit is contained in:
José Fonseca
2008-06-24 11:34:46 +09:00
parent 80b359f574
commit 18ec140ef2
9 changed files with 30 additions and 29 deletions

View File

@@ -467,7 +467,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;
}
}