diff options
author | José Fonseca <[email protected]> | 2008-06-24 11:34:46 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-06-24 11:34:46 +0900 |
commit | 18ec140ef27b6488bea9d54e21b08b0a3afbcafe (patch) | |
tree | c65033e375e12ed3ceed04fea934b5d8e57f6561 /src/mesa/shader/program.c | |
parent | 80b359f574cd8565af46e0900d2da9dd0faf4291 (diff) |
mesa: Use appropriate unsigned/signed, float/integer types.
Diffstat (limited to 'src/mesa/shader/program.c')
-rw-r--r-- | src/mesa/shader/program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c index a0817a91ec0..b27ed6b7d37 100644 --- a/src/mesa/shader/program.c +++ b/src/mesa/shader/program.c @@ -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; } } |