commit | 457d7218b8e0f0c21ae31564d25b7031b423b0f8 | [log] [tgz] |
---|---|---|
author | José Fonseca <jrfonseca@tungstengraphics.com> | Tue Jun 24 11:34:46 2008 +0900 |
committer | Keith Whitwell <keith@tungstengraphics.com> | Sun Sep 21 22:13:56 2008 -0700 |
tree | 98d51cb0dc1710f41956bbd01e7bad0e203badc4 | |
parent | 88f729e4ec145ca388fb20e72d65c51af154d2e5 [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 2932c9e..55f862a 100644 --- a/src/mesa/shader/program.c +++ b/src/mesa/shader/program.c
@@ -513,7 +513,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; } }