commit | 18ec140ef27b6488bea9d54e21b08b0a3afbcafe | [log] [tgz] |
---|---|---|
author | José Fonseca <jrfonseca@tungstengraphics.com> | Tue Jun 24 11:34:46 2008 +0900 |
committer | José Fonseca <jrfonseca@tungstengraphics.com> | Tue Jun 24 11:34:46 2008 +0900 |
tree | c65033e375e12ed3ceed04fea934b5d8e57f6561 | |
parent | 80b359f574cd8565af46e0900d2da9dd0faf4291 [diff] [blame] |
mesa: Use appropriate unsigned/signed, float/integer types.
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c index a0817a9..b27ed6b 100644 --- a/src/mesa/shader/program.c +++ b/src/mesa/shader/program.c
@@ -467,7 +467,7 @@ 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; } }