Module: Mesa Branch: master Commit: 3633e1f538e42ac04700aa98b48e3157b3406c14 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3633e1f538e42ac04700aa98b48e3157b3406c14
Author: Brian Paul <[email protected]> Date: Tue Oct 12 08:54:16 2010 -0600 glsl2: fix signed/unsigned comparison warning --- src/glsl/loop_unroll.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/glsl/loop_unroll.cpp b/src/glsl/loop_unroll.cpp index 90797bd..1170958 100644 --- a/src/glsl/loop_unroll.cpp +++ b/src/glsl/loop_unroll.cpp @@ -67,7 +67,7 @@ loop_unroll_visitor::visit_leave(ir_loop *ir) /* Don't try to unroll loops that have zillions of iterations either. */ - if (iterations > max_iterations) + if (iterations > (int) max_iterations) return visit_continue; if (ls->num_loop_jumps > 1) _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
