diff options
author | Brian Paul <[email protected]> | 2010-01-27 17:03:04 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-27 17:04:30 -0700 |
commit | 20fbb24b67dda0679774756e4b6d98c2c66c2c42 (patch) | |
tree | 3c6d5bcb88000a59e05ee26472011612be7e8ca1 /src/mesa/shader/program.c | |
parent | 6703fb1917a79889df31777682283556c31e30bd (diff) |
mesa: fix double->float assignment warnings, int/uint comparison warnings
Reported by Karl Schultz.
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 6b8d94e6614..3e86d0adad4 100644 --- a/src/mesa/shader/program.c +++ b/src/mesa/shader/program.c @@ -580,7 +580,7 @@ _mesa_delete_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 (inst->BranchTarget > (GLint) start) { inst->BranchTarget -= count; } } |